From: Paul Eggert Date: Sat, 20 Nov 2004 08:56:05 +0000 (+0000) Subject: (dd invocation): Add noctty flag to dd. X-Git-Tag: v5.3.0~357 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2852d59d222e1f9b5ba80d386d2f5614217484f4;p=thirdparty%2Fcoreutils.git (dd invocation): Add noctty flag to dd. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 0b1a69bffa..85c4188e87 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.