On 4/27/06, Wiggins, Mark <[EMAIL PROTECTED]> wrote:

> Alright, when I go to YaST - "Clock and Time Zone Configuration", I see
> "Hardware clock set to UTC", I see "Region = USA" and "Time Zone =
> Eastern". Are we talking about a different hardware clock here?

That's the way to do it (and I am not sure this got fixed, but
previously when you set it not to UTC you got a random offset ;-).
Linux gets the hardware clock from its virtual TOD, and normally
that's identical to the LPAR TOD, which is normally equal to the
hardware TOD. They're all at UTC, which is good.
CP uses the timezone to show local time in various CP things, and CMS
indirectly also uses the CP local time for its stuff. This does not
influence Linux in any way.

Applications in Linux use (through the glibc runtime library) the
/etc/localtime definitions. These definitions define the offset
between local time and UTC, as well as the cut-over time for DST. Many
applications in Linux don't really need to care about whether time is
jumping backwards, so they will simply convert the Linux system time
(UTC) to local time with whatever the current offset is. Things that
do care (e.g. to measure delays) will measure in system time to assure
they have a time that is incremented consistently.

Things that care a lot (e.g. file systems) will record the system time
as well as the offset or time zone.  This is what I got when I was
creating a new file every second:
linux10:~ # ls -l --time-style=full-iso file*
  30 2004-10-31 02:59:57.000000000 +0200 file60.tmp
  30 2004-10-31 02:59:58.000000000 +0200 file61.tmp
  30 2004-10-31 02:59:59.000000000 +0200 file62.tmp
  29 2004-10-31 02:00:00.000000000 +0100 file63.tmp
  29 2004-10-31 02:00:01.000000000 +0100 file64.tmp
  29 2004-10-31 02:00:02.000000000 +0100 file65.tmp

Now as far as I recall the rmfpms gatherer is keeping the archive in
files that are named after the local time, so you'll probably lose
your data in 6 months. Since it's in the middle of the night, you may
not care too much about it.

Rob
--
Rob van der Heij
Velocity Software, Inc
http://velocitysoftware.com/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to