GNU bug report logs - #14108
Bug in dd

Previous Next

Package: coreutils;

Reported by: Haneef Mubarak <haneef503 <at> gmail.com>

Date: Sun, 31 Mar 2013 22:29:02 UTC

Severity: normal

Tags: notabug

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14108 in the body.
You can then email your comments to 14108 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#14108; Package coreutils. (Sun, 31 Mar 2013 22:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Haneef Mubarak <haneef503 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sun, 31 Mar 2013 22:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Haneef Mubarak <haneef503 <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Bug in dd
Date: Sun, 31 Mar 2013 15:01:52 -0700
dd doesn't have a quiet option, ie: dd --quiet

Having a quiet option would allow for an easier use of piping with dd

Please reply

Thanks
Haneef M.





Information forwarded to bug-coreutils <at> gnu.org:
bug#14108; Package coreutils. (Mon, 01 Apr 2013 05:02:02 GMT) Full text and rfc822 format available.

Message #8 received at 14108 <at> debbugs.gnu.org (full text, mbox):

From: Bob Proulx <bob <at> proulx.com>
To: Haneef Mubarak <haneef503 <at> gmail.com>
Cc: 14108 <at> debbugs.gnu.org
Subject: Re: bug#14108: Bug in dd
Date: Sun, 31 Mar 2013 22:58:15 -0600
tag 14108 + notabug
close 14108
thanks

Haneef Mubarak wrote:
> dd doesn't have a quiet option, ie: dd --quiet
> 
> Having a quiet option would allow for an easier use of piping with dd

The dd manual documents this as "status=none":

  `status=WHICH'
     Transfer information is normally output to stderr upon receipt of
     the `INFO' signal or when `dd' exits.  Specifying WHICH will
     identify which information to suppress.

    `noxfer'
          Do not print the transfer rate and volume statistics that
          normally make up the last status line.

    `none'
          Do not print any informational messages to stderr.  Error
          messages are output as normal.

Example of use of it.

  $ dd if=/dev/zero of=/dev/null bs=1k count=1
  1+0 records in
  1+0 records out
  1024 bytes (1.0 kB) copied, 0.000113146 s, 9.1 MB/s

  $ dd status=none if=/dev/zero of=/dev/null bs=1k count=1
  ...no output...

The dd command is an old command and the option syntax doesn't follow
the same as what we would say is the normal modern style.  It follows
the previous style.  Therefore it won't be --quiet there.  It will be
something=something.  Traditionally dd does not support the
status=none usage.  GNU dd has extended this with the status=none
option to supress the normal stats output.  However errors are
reported normally.

  $ dd if=/dev/zero of=/dev/full bs=1k count=1
  dd: writing ‘/dev/full’: No space left on device
  1+0 records in
  0+0 records out
  0 bytes (0 B) copied, 0.000184665 s, 0.0 kB/s

Bob




Added tag(s) notabug. Request was from Bob Proulx <bob <at> proulx.com> to control <at> debbugs.gnu.org. (Mon, 01 Apr 2013 05:02:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 14108 <at> debbugs.gnu.org and Haneef Mubarak <haneef503 <at> gmail.com> Request was from Bob Proulx <bob <at> proulx.com> to control <at> debbugs.gnu.org. (Mon, 01 Apr 2013 05:02:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-coreutils <at> gnu.org:
bug#14108; Package coreutils. (Mon, 01 Apr 2013 05:06:01 GMT) Full text and rfc822 format available.

Message #15 received at 14108 <at> debbugs.gnu.org (full text, mbox):

From: Bob Proulx <bob <at> proulx.com>
To: Haneef Mubarak <haneef503 <at> gmail.com>
Cc: 14108 <at> debbugs.gnu.org
Subject: Re: bug#14108: Bug in dd
Date: Sun, 31 Mar 2013 23:02:23 -0600
Bob Proulx wrote:
> However errors are reported normally.
> 
>   $ dd if=/dev/zero of=/dev/full bs=1k count=1
>   dd: writing ‘/dev/full’: No space left on device
>   1+0 records in
>   0+0 records out
>   0 bytes (0 B) copied, 0.000184665 s, 0.0 kB/s

I meant to say:

  $ dd status=none if=/dev/zero of=/dev/full bs=1k count=1
  dd: writing ‘/dev/full’: No space left on device

Showing that errors are reported normally even if status=none is
given.

Bob




Information forwarded to bug-coreutils <at> gnu.org:
bug#14108; Package coreutils. (Tue, 02 Apr 2013 07:20:02 GMT) Full text and rfc822 format available.

Message #18 received at 14108 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Haneef Mubarak <haneef503 <at> gmail.com>, Bob Proulx <bob <at> proulx.com>
Cc: 14108 <at> debbugs.gnu.org
Subject: Re: bug#14108: Bug in dd
Date: Tue, 2 Apr 2013 09:16:44 +0200 (CEST)
> On April 1, 2013 at 6:58 AM Bob Proulx <bob <at> proulx.com> wrote:
> Haneef Mubarak wrote:
> > dd doesn't have a quiet option, ie: dd --quiet
> >
> > Having a quiet option would allow for an easier use of piping with dd
>
> The dd manual documents this as "status=none":

Additional note: this has been added in coreutils-8.20,
so unless building from source, the distribution used
might not have this new option available yet.

Have a nice day,
Berny




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 30 Apr 2013 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 110 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.