On Tue, 2010-11-09 at 09:10 -0500, Eli Zaretskii wrote:
> > When we used -p , it means preserve time-stamp, so how ‘dst’ is
> > typically slightly older than ‘src’ ?
> 
> It's a misfeature of (some versions of) `cp': it preserves the time
> stamp only to the seconds resolution, and discards the milliseconds
> part.  So if the original file was time-stamped 10:25:32.890, the
> copied file will have the time-stamp of 10:25:32, which is 890
> milliseconds older.

Also note that not all filesystems support sub-second timestamps.
Especially older filesystems don't.  One common example is NFS.  If your
filesystem doesn't you won't be need (or be able to see) the effects
of .LOW_RESOLUTION_TIME.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to