Messages in this thread | | | From | "Johan Kullstam" <> | Subject | Re: Filesystem date 7 hours ahead of system clock | Date | 13 Jul 2000 17:55:23 -0400 |
| |
Rick Stevens <rstevens@publichost.com> writes:
> This is weird. When I touch a file, the timestamp on the file is > 7 hours ahead of the system time (I'm in the US/Pacific time zone, > which is UTC -0700): > > [root@srv01 /root]# date > Thu Jul 13 13:57:03 PDT 2000 > [root@srv01 /root]# touch fred > [root@srv01 /root]# ls -l fred > -rw-r--r-- 1 root root 0 Jul 13 20:57 fred > > Both the system and hardware clocks are set to the current local time > and correct timezone (PDT).
doctor it hurts when i...
set clocks to UTC. local time is an offset computed by libc. this will fix your problem; this is the only sane way to run your clocks.
btw in case of dual boot to an OS with a brain-damaged idea of time, just let the other OS lose. it can't help losing. it avoids dual-boot daylight savings time double clock movement fun.
-- J o h a n K u l l s t a m [kullstam@ne.mediaone.net] Don't Fear the Penguin!
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |