Copy files to NFS directory loose time stamps
Paul Dickson
paul at permanentmail.com
Sun Feb 26 20:54:33 UTC 2006
On Sun, 26 Feb 2006 09:53:32 -0800, oldman wrote:
> Paul Dickson wrote:
>
> >If I do a "cp -a" to a NFS volume, the resulting files have the current
> >time stamp. Do I need to change my mount options or is this a kernel bug?
> >
> >Current options in fstab: defaults,owner,rw,user,auto,hard,intr,exec
>
> This is the way cp is supposed to work. to preserve the time stamp
> see the man
> page on cp and look for the option --preserve
No, the man page says -a preserves timestamps, but it's not.
-Paul
More information about the fedora-test-list
mailing list