lkml.org 
[lkml]   [1999]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Wierd NFS problem
Date
In article <cistron.36964AC9.267D2D24@numerix.com>,
Greg Whalin <gwhalin@numerix.com> wrote:
>Basically, what happens is that I am losing file modification times in
>ls output. Here is how I reproduce ...
>
>> ls -l
>-rw-r--r-- 1 gwhalin users 512 Jan 08 12:34 sample.txt
>
>I then edit the file with vi ... make some changes and save. Then, I
>check ls ..
>
>> ls -l
>-rw-r--r-- 1 gwhalin users 545 Jan 08 1999 sample.txt

This happens if the clocks of the different servers are not synchronized.
If you have a file whos modification time is in the future, ls will
behave like this. Observe:

$ touch foo
$ ls -l foo
-rw-rw-r-- 1 miquels staff 0 Jan 10 00:01 foo
$ touch --date="05:00" foo
$ ls -l foo
-rw-rw-r-- 1 miquels staff 0 Jan 10 1999 foo

Mike.
--
Indifference will certainly be the downfall of mankind, but who cares?

-
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:49    [W:0.107 / U:1.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site