[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#7529: Bug#605639: deal better with different filesystem timestam
Re: bug#7529: Bug#605639: deal better with different filesystem timestamp resolutions
Fri, 03 Dec 2010 10:05:53 -0800
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:220.127.116.11) Gecko/20101027 Thunderbird/3.0.10
On 12/03/10 02:03, Jim Meyering wrote:
> Would you mind adding a "Bug fixes" entry for this
> in coreutils' NEWS file? It'd be nice to commit that
> along with an update of the gnulib submodule to the latest.
Sure, done, with this notice:
cp -u no longer does unnecessary copying merely because the source
has finer-grained time stamps than the destination.
> As for a test, it shouldn't be too hard to create a root-only test
> on linux/gnu systems, since _PC_TIMESTAMP_RESOLUTION is not defined.
> Create two loop-mounted file systems of types that have the desired
> difference in time stamp resolution, and run commands like Dan did.
Hmm, well, I can see a lot going wrong with that, such as garbage in the
mount table if the test is interrupted. (Also, there's the little problem
that I lack root access on the hosts that I do builds on these days: does
that get me off the hook? :-)