diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-02-12 01:18:37 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-02-12 01:18:37 +0000 |
commit | 6117ff4c27fcf66a197a9651b4cf2ee8bcc78da9 (patch) | |
tree | 9fe412b67c2d6b736c4f95fb15006fe358eef958 /bin/dd/dd.h | |
parent | 7374f1974c7791dd9ffa91d5351946a35713d2b5 (diff) |
Add an operand to /bin/dd that suppresses the status lines printed
to stderr after transfer. Use the GNU syntax status=noxfer and
status=none to make dd quiet. The output is annoying in some
situations, so people redirect stderr to /dev/null. This approach
also suppresses the error messages and bugs in shell scripts remain
undetected. The new feature status=none is the better alternative.
OK mpf@
Diffstat (limited to 'bin/dd/dd.h')
-rw-r--r-- | bin/dd/dd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/dd/dd.h b/bin/dd/dd.h index a74d5a6a6aa..b9f57885322 100644 --- a/bin/dd/dd.h +++ b/bin/dd/dd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dd.h,v 1.5 2003/06/02 23:32:07 millert Exp $ */ +/* $OpenBSD: dd.h,v 1.6 2014/02/12 01:18:36 bluhm Exp $ */ /* $NetBSD: dd.h,v 1.4 1995/03/21 09:04:08 cgd Exp $ */ /*- @@ -93,3 +93,6 @@ typedef struct { #define C_UCASE 0x40000 #define C_UNBLOCK 0x80000 #define C_OSYNC 0x100000 +#define C_STATUS 0x200000 +#define C_NOXFER 0x400000 +#define C_NOINFO 0x800000 |