[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .LOW_RESOLUTION_TIME
From: |
Paul Smith |
Subject: |
Re: .LOW_RESOLUTION_TIME |
Date: |
Tue, 09 Nov 2010 09:26:01 -0500 |
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 <address@hidden> 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