[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
Sat, 04 Dec 2010 18:56:07 +0100
Paul Eggert wrote:
> 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? :-)
I didn't mean to make it sound like a requirement.
I was merely thinking aloud about how I might do it.