summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2007-02-22 19:09:35 +0100
committerJim Meyering <jim@meyering.net>2007-02-22 19:09:35 +0100
commit4e73fea3e3b6fb721b91bb81e5357fb805eb590d (patch)
tree9bd24b61c9e42d7f2053e34711373e29309b866a /doc
parentc450b625b4351aa5ab87a4334f95b6a24f3a0022 (diff)
downloadcoreutils-4e73fea3e3b6fb721b91bb81e5357fb805eb590d.tar.xz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 1a2dba43e..04c1b4e1e 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -7442,6 +7442,8 @@ Use non-blocking I/O.
@opindex noatime
@cindex access time
Do not update the file's access time.
+Some older file systems silently ignore this flag, so it is a good
+idea to test it on your files before relying on it.
@item noctty
@opindex noctty