Honor dd's noatime flag if possible, even if not supported on build fs
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Feb 2007 18:09:35 +0000 (19:09 +0100)
committerJim Meyering <jim@meyering.net>
Thu, 22 Feb 2007 18:09:35 +0000 (19:09 +0100)
commit4e73fea3e3b6fb721b91bb81e5357fb805eb590d
tree9bd24b61c9e42d7f2053e34711373e29309b866a
parentc450b625b4351aa5ab87a4334f95b6a24f3a0022
Honor dd's noatime flag if possible, even if not supported on build fs
* doc/coreutils.texi (dd invocation): Warn that noatime might not be
reliable.
* src/dd.c (flags, usage): Look at O_NOATIME, not
HAVE_WORKING_O_NOATIME, to decide whether to support the noatime
flag, so that dd attempts O_NOATIME even if the build file system
does not support it.  Problem reported by Jim Meyering today in
bug-coreutils.
* tests/dd/misc: Generate a warning, not a failure, if noatime
exists but fails.
ChangeLog
doc/coreutils.texi
src/dd.c
tests/dd/misc