[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where is the clock utility reside?



Grigory Kljuchnikov wrote:
> Hi!
> 
> In which package reside clock utility? 
> I don't find it anyway, but at boot time
> there is error message:
> 
> /etc/init.d/rcS: clock: command not found

There no clock program for sparc :-((
I wrote one a year ago, by fixing the clock program from util-linux 2.5.
Now util-linux is 2.7.1 (without the sparc fix) and the clock program for i386
is hwclock (don't remember from which package, and I don't have an immediate
access to my sparc, sorry).

I'm thinking about a solution to provide a clock program for sparc:
1/ either we can fix hwclock to support sparc
2/ or write a new one dedicated to sparc.

The former solution is a hack, because the structure of /dev/rtc on sparc is
not compatible with the one from intel.  It needs a lot of #if...#endif.
Moreover, there is a lot of ISA code not really useful on sparc ;-)

I'd rather like the latter. I could then include it in my sparc-utils package.
However, the elftoaout & piggyback programs already available in sparc-utils
are not required to run a debian/sparc system, but the clock program is.  So I
could provide it as a separate binary package (same source either).

Any comments?

-- 
 Eric Delaunay                 | "La guerre justifie l'existence des militaires.
 delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)


--
To UNSUBSCRIBE, email to debian-sparc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: