bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cp -up forever


From: Eric Blake
Subject: Re: cp -up forever
Date: Mon, 23 Jun 2008 22:29:43 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

 <jidanni <at> jidanni.org> writes:

> 
> Fellas, in http://bugs.debian.org/276500
> m> There is a new syscall in 2.6.22, utimensat. It gets a "struct timespec"
> m> which allows nanosecond resolution.
> That means you can now fix the difference in
> $ touch m; touch -r m n; stat -c %y m n
> 2008-06-24 06:13:24.106160298 +0800
> 2008-06-24 06:13:24.106160000 +0800
> 

You're behind the times (pardon the pun).  Coreutils was already fixed to use 
utimensat (when it works) as of 6.12.  However, after the release, there was a 
utimensat bug discovered for some kernel versions, so it may take current git 
sources (or wait for 6.13) to work around those bugs.

-- 
Eric Blake






reply via email to

[Prev in Thread] Current Thread [Next in Thread]