(dd invocation): Add noctty flag to dd.

This commit is contained in:
Paul Eggert 2004-11-20 08:56:05 +00:00
parent 8adf2bc638
commit 2852d59d22

View File

@ -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.