GNU bug report logs - #7529
Bug#605639: deal better with different filesystem timestamp resolutions

Previous Next

Package: coreutils;

Reported by: jidanni <at> jidanni.org, 605639 <at> bugs.debian.org

Date: Thu, 2 Dec 2010 01:04:02 UTC

Severity: normal

Tags: fixed

Found in version 8.5-1

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jim Meyering <jim <at> meyering.net>
Cc: bug-coreutils <at> gnu.org, 605639 <at> bugs.debian.org, bug-gnulib <bug-gnulib <at> gnu.org>, jidanni <at> jidanni.org
Subject: bug#7529: Bug#605639: deal better with different filesystem	timestamp resolutions
Date: Fri, 03 Dec 2010 10:05:53 -0800
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?  :-)





This bug report was last modified 6 years and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.