lkml.org 
[lkml]   [2000]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Filesystem date 7 hours ahead of system clock
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.031 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site