On Mon, 08 Nov, 1999 à 08:19:23PM +1100, Brian May wrote:
> In article <[EMAIL PROTECTED]> you write:
> >>>>>> "LP" == Laurent PICOULEAU <[EMAIL PROTECTED]> writes:
> >    LP> For your BIOS : simply set your CMOS clock to the GMT time :
> >
> >I am being a bit daft but do you mean that I should go into my BIOS and
> >change the time to whatever the equivalent GMT time is ? There doesn't
> >seem to be any option in the BIOS that explicitly sets/specifies GMT
> >time. The only option in my system's BIOS related to time is :
> >
> > Standard CMOS Setup -> {Date, Time}
> 
> Thats what the poster wanted you to change.
> 
> However, I myself would do the following:
> 
> 1. With computer booted, edit /etc/default/rcS and sent GMT as required:
> 
> >Here is the relevant setting from my /etc/default/rcS:
> >
> ># Set GMT="-u" if your system clock is set to GMT, and GMT="" if not.
> >GMT=""
> 
> (I think this has changed for potato).
> 
> 2. Now updated you CMOS clock by typing in:
> 
> /etc/init.d/hwclock.sh stop

Here's why I won't do that in this way :
this script relies on the command "hwclock --systohc" (with --utc if needed).
This command set the CMOS clock to the same value that the kernel clock wich
is the desired effect. *But* there's a side effect : the drift value in
/etc/adjtime is recomputed and as your CMOS clock would have change of a few
hours in a few minutes (if you do theses manipulations shortly after
booting) it would be a huge value. On next reboot, if this value is left
untouched, you'll get a time-travel machine : each time you reboot your
computer, the clock goes backward in the past. 
Oh cool : no more Y2k problem ;-)

> (really dumb idiotic off-topic question - is it possible to setup
> Windoze so that it will work when the CMOS clock is GMT? My guess: Of
> course not!)

Only one solution to my knowledge : live in a country where local time is
GMT. (Where do you want to go today ? >;-> )

-- 
 ( >-   Laurent PICOULEAU                                      -< )
 /~\       [EMAIL PROTECTED]                                  /~\
|  \)    Linux : mettez un pingouin dans votre ordinateur !    (/  |
 \_|_    Seuls ceux qui ne l'utilisent pas en disent du mal.   _|_/

Reply via email to