[expert] daylight-saving time
my computer's clock just made the change to N American EDT automatically. is this controlled by Xntpd, which i have running, or by something else in the Mandrake-Linux set-up (9.0rc1 currently)? i can't find anything in the NTP document'n on the subject. -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies TRANSIT`-O--O---' University of Toronto Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] daylight-saving time
Philip Webb said: > > my computer's clock just made the change to N American EDT > automatically. is this controlled by Xntpd, which i have running, > or by something else in the Mandrake-Linux set-up (9.0rc1 currently)? i > can't find anything in the NTP document'n on the subject. At a shell prompt, type: echo $TZ What does it say? (That's usually what controls that action on a *NIX machine.) I never understand the named timezones that Mandrake provides, so I use the old style (I.E. PST8PDT as the timezone - that tells it I'm in pacific time, that's it's timezone +8, and that this area has daylight savings time in effect). If you live in an area that doesn't have daylight savings time, you can set it to EDT5 and it won't change. I think. :-) One of your startup rc.d scripts sets the timezone (TZ) variable at boot time. --Dave Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] daylight-saving time
030406 David Guntner wrote: > Philip Webb said: >> my computer's clock just made the change to N American EDT >> automatically. is this controlled by Xntpd, which i have running, >> or by something else in the Mandrake-Linux set-up (9.0rc1 currently)? >> can't find anything in the NTP document'n on the subject. > At a shell prompt, type: > echo $TZ > What does it say? > That's usually what controls that action on a *NIX machine. a blank line, so it hasn't been defined. > I never understand the named timezones that Mandrake provides, > so I use the old style, I.E. PST8PDT as the timezone - > that tells it I'm in pacific time, that's it's timezone +8, > and that this area has daylight savings time in effect. > If you live in an area that doesn't have daylight savings time, > you can set it to EDT5 and it won't change. I think. :-) > One of your rc.d scripts sets the timezone (TZ) variable at boot time. seems not. there's no problem, but i'm just interested how it happens. it's always possible it won't happen one year & i'll need to fix it. -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies TRANSIT`-O--O---' University of Toronto Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] daylight-saving time
Bill Mullen grabbed a keyboard and wrote: > > On Sun, 6 Apr 2003, Philip Webb wrote: > > > 030406 David Guntner wrote: > > > > > > One of your rc.d scripts sets the timezone (TZ) variable at boot time. > > > > seems not. > > It is probably based on the ZONE= setting in /etc/sysconfig/clock. Ah, you're right. Seems that Mandrake (and possibly other distributions?) does that. I'm used to the older UNIX way of doing it, which would use $TZ. The $TZ variable does still work for per-user use, though. I.E., if you're logged in as a regular user, you can set it to the timezone that you're in (I.E., if you're remote from the box and logging in from a different timezone, you can set TZ to the timezone that you're in, and when you do a command that shows you a date, like "date" or "ls", the times displayed will be in your local, $TZ set timezone). So that's what fooled me into thinking that Linux was still doing it that way. :-) --Dave -- David Guntner GEnie: Just say NO! http://www.akaMail.com/pgpkey/davidg or key server for PGP Public key Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com