Re: system time - thank you
On Thu, Sep 20, 2007 at 01:14:16PM +0200, daniele pendenza wrote:
> Just to make it clear to everyone interested - also in the future :
> 1 - 'hwclock --show' : reads by its own the content of '/etc/adjtime'
> (if this file does not exist the dafault(*) is localtime) to understand
> if the RTC is in UTC or LOCALTIME than it shows, after a conversion if
> necessary, the time in localtime.
> >>If all that I wrote is correct : why the command ' hwclock --show
> >>--localtime' shows me the UTC time and 'hwclock --show --utc' shows me
> >>the localtime ?
That is all very well for some. My Acer Aspire with etch responds to
all hwclock queries with this:
select() to /dev/rtc to wait for clock tick timed out
But it seems to work just the same...