diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-01-11 22:31:45 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-01-13 11:16:39 +0000 |
commit | 6ceb7ef87fdf138f0553f32a95567920cc51ae1a (patch) | |
tree | 05ebd561ad09e7458eeec20fc5dc02a77098fe12 /src | |
parent | a0c5313d60703c480014bfd810bf8f1cf9903299 (diff) | |
download | coreutils-6ceb7ef87fdf138f0553f32a95567920cc51ae1a.tar.xz |
doc: suggest dd "sync" flag to maximize "nocache" effectiveness
doc/coreutils.texi (dd invocation): Add oflag=sync to the streaming
example. Also reference the "direct" flag. Mention this is only
a request to the system.
* src/dd.c (usage): Mention the "sync" flag along with "nocache".
Also mention that it's only a request to drop the cache.
* THANKS.in: Add reporter Francois Rigault.
Diffstat (limited to 'src')
-rw-r--r-- | src/dd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -632,7 +632,8 @@ Each FLAG symbol may be:\n\ fputs (_(" noatime do not update access time\n"), stdout); #if HAVE_POSIX_FADVISE if (O_NOCACHE) - fputs (_(" nocache discard cached data\n"), stdout); + fputs (_(" nocache Request to drop cache. See also oflag=sync\n"), + stdout); #endif if (O_NOCTTY) fputs (_(" noctty do not assign controlling terminal from file\n"), |