Re: system time - thank you

2007-09-24 Thread Celejar
On Sat, 22 Sep 2007 11:25:11 +0200 daniele pendenza <[EMAIL PROTECTED]> wrote: [snip] > I also found on the net a wiki that u can check if your problem is > > >My Acer Aspire with etch responds to > >all hwclock queries with this: > > >select() to /dev/rtc to wait for clock tick timed out > >

Re: system time - thank you

2007-09-24 Thread daniele pendenza
Chris Bannister wrote: 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 u

Re: system time - thank you

2007-09-24 Thread Chris Bannister
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 R

Re: system time - thank you

2007-09-22 Thread daniele pendenza
Richard Lyons wrote: 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)

Re: system time - thank you

2007-09-21 Thread Richard Lyons
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

Re: system time - thank you

2007-09-20 Thread Bob Proulx
daniele pendenza wrote: > >If the adjtime file doesn't exist, the default is local time. > > and why not utc ? > ;) I have no idea. You would need to ask the hwclock author. I was simply quoting the documentation. Using UTC as a default would make sense to me. (shrug) I always use UTC for th

Re: system time - thank you

2007-09-20 Thread daniele pendenza
If the adjtime file doesn't exist, the default is local time. and why not utc ? ;) daniele Bob Proulx wrote: daniele pendenza wrote: By the way a question arises: why the default in (*) is localtime ... It seems that when I first wrote the post the system '/etc/default/rcS' has been

Re: system time - thank you

2007-09-20 Thread Bob Proulx
daniele pendenza wrote: > By the way a question arises: why the default in (*) is localtime ... > It seems that when I first wrote the post the system '/etc/default/rcS' > has been configured with 'UTC=yes' ... mmm ... odd, isnt it ? ;) The default is whatever was last used to set the clock.

Re: system time - thank you

2007-09-20 Thread daniele pendenza
Hi ! and Thank you Bob for the kind answer. It was my mistake not to read the documentation in depth. So your suggestion was a great help. Now I understand the results of hwclock, Just to make it clear to everyone interested - also in the future : 1 - 'hwclock --show' : reads by its own th

Re: system time - thank you

2007-09-19 Thread Bob Proulx
daniele pendenza wrote: > So I think this is the general picture : > 1 - when the system starts the value of the system time is defined > taking into account the value of the RTC time the value of the UTC > constant retrived at startup and the timezone information. > 2 - when the system is up an

system time - thank you

2007-09-18 Thread daniele pendenza
Thank you to all of you for your answers. I found that by default the DEbian installer set yes as the value of the constant UTC - specified in the file /etc/default/rcS -. I switched it to NO and then back to YES : now the date command shows me the correct time. So I think this is the general