in reply to Re^2: Re-Creating a file does not change inode modification time (Windows)
in thread Re-Creating a file does not change inode modification time (Windows)
I can reproduce these findings:
c:\test>dir fred 15/09/2011 16:09 6 fred c:\test>dir /T:C fred 15/09/2011 16:09 6 fred c:\test>dir /T:A fred 15/09/2011 16:09 6 fred c:\test>del fred c:\test>echo . > fred c:\test>dir fred 20/09/2011 14:41 4 fred c:\test>dir /T:C fred 15/09/2011 16:09 4 fred
It seems to be explained by file system caching. This snippet from MS:
Timestamps are updated at various times and for various reasons. The only guarantee about a file timestamp is that the file time is correctly reflected when the handle that makes the change is closed. .... The NTFS file system delays updates to the last access time for a file by up to 1 hour after the last access.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Re-Creating a file does not change inode modification time (Windows)
by Anonymous Monk on May 07, 2014 at 16:04 UTC | |
|
Re^4: Re-Creating a file does not change inode modification time (Windows)
by rovf (Priest) on Sep 20, 2011 at 15:52 UTC |