summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-11-20 08:56:05 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-11-20 08:56:05 +0000
commit2852d59d222e1f9b5ba80d386d2f5614217484f4 (patch)
treec0f82f03f97cfd3bf30eea77ff22dfa263cdf329 /doc
parent8adf2bc638d15de87dfabe1b68b872eba0a68230 (diff)
downloadcoreutils-2852d59d222e1f9b5ba80d386d2f5614217484f4.tar.xz
(dd invocation): Add noctty flag to dd.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 0b1a69bff..85c4188e8 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -6832,12 +6832,20 @@ Use non-blocking I/O.
@cindex symbolic links, following
Do not follow symbolic links.
+@item noctty
+@opindex noctty
+@cindex controlling terminal
+Do not assign the file to be a controlling terminal for @command{dd}.
+This has no effect when the file is not a terminal.
+On many hosts (e.g., @acronym{GNU}/Linux hosts), this option has no effect
+at all.
+
@end table
These flags are not supported on all systems, and @samp{dd} rejects
attempts to use them when they are not supported. When reading from
-standard input or writing to standard output, the @samp{nofollow} flag
-should not be specified, and the other flags
+standard input or writing to standard output, the @samp{nofollow} and
+@samp{noctty} flags should not be specified, and the other flags
(e.g., @samp{nonblock}) can affect how other processes behave with the
affected file descriptors, even after @command{dd} exits.