summaryrefslogtreecommitdiff
path: root/src/dd.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-12-07 21:12:12 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-12-07 21:12:12 +0000
commit88afdc99f207de86513239237a8407279d96aad3 (patch)
treec7d5b89c86143dc0c1e9e00c124cb103796790b8 /src/dd.c
parentcb65d67c2a77011dda7035a34ff7990ddf47dffe (diff)
downloadcoreutils-88afdc99f207de86513239237a8407279d96aad3.tar.xz
(flags, usage): Add support for noatime flag.
Diffstat (limited to 'src/dd.c')
-rw-r--r--src/dd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dd.c b/src/dd.c
index 56e3a033e..7d05ec3b0 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -264,6 +264,7 @@ static struct symbol_value const flags[] =
{"binary", O_BINARY},
{"direct", O_DIRECT},
{"dsync", O_DSYNC},
+ {"noatime", O_NOATIME},
{"noctty", O_NOCTTY},
{"nofollow", O_NOFOLLOW},
{"nonblock", O_NONBLOCK},
@@ -465,6 +466,8 @@ Each FLAG symbol may be:\n\
fputs (_(" sync likewise, but also for metadata\n"), stdout);
if (O_NONBLOCK)
fputs (_(" nonblock use non-blocking I/O\n"), stdout);
+ if (O_NOATIME)
+ fputs (_(" noatime do not update access time\n"), stdout);
if (O_NOFOLLOW)
fputs (_(" nofollow do not follow symlinks\n"), stdout);
if (O_NOCTTY)