List Info

Thread: -newer vs. FAT two second resolution




-newer vs. FAT two second resolution
country flaguser name
Australia
2008-04-08 20:10:22
find -newer will have the same problem on FAT filesystems as
cp -u:
http://lists.gnu.org/archive/html/bug-coreu
tils/2008-04/msg00027.html
$ touch -d 11:11:11 y
$ stat y
Access: 2008-04-09 11:11:11.000000000 +0800
$ cp -a y /vfat
$ umount /vfat; mount /vfat
$ stat /vfat/y
Modify: 2008-04-09 11:11:10.000000000 +0800
$ find y -newer ...

Just wanted to make a note of it and you might want to note
it in the
man page pending some future resolution of the issue.



Re: -newer vs. FAT two second resolution
user name
2008-04-11 03:06:10
On Wed, Apr 9, 2008 at 2:10 AM,  <jidannijidanni.org> wrote:
>  $ stat y
>  Access: 2008-04-09 11:11:11.000000000 +0800
>  $ cp -a y /vfat
>  $ umount /vfat; mount /vfat
>  $ stat /vfat/y
>  Modify: 2008-04-09 11:11:10.000000000 +0800

This is a little inconsistent; you show the mtime in one
example and
the atime in the other.  Are they the same?   Could you try
again and
use the same timestamp in each case?

James.



[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )