Messages in this thread | | | From | (Miquel van Smoorenburg) | Subject | Re: Wierd NFS problem | Date | 10 Jan 1999 00:03:39 +0100 |
| |
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/
| |