Your message dated Tue, 16 Oct 2007 06:05:34 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#446853: /bin/dd: inconsistent records out and bytes copied
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: coreutils
Version: 5.97-5.4
Severity: minor
File: /bin/dd
In this example, /dev/sde1 is a Flash card with, indeed, 2.1GB of space.
$ sudo dd if=/dev/zero of=/dev/sde1 bs=512b count=4013650
dd: writing `/dev/sde1': No space left on device
7840+0 records in
7839+0 records out
2054988800 bytes (2.1 GB) copied, 199.649 seconds, 10.3 MB/s
If it really copied 2054988800 bytes, it should have printed 4013650 records
out. If it really only copied 7839 records of 512 bytes each, it only copied
4013568 bytes. (Given the time elapsed I believe the byte count. I note that
7839 * 512 is suspiciously close to the correct number of records copied. Is
something getting divided by something else once more than it should be, maybe?)
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages coreutils depends on:
ii libacl1 2.2.45-1 Access control list shared library
ii libc6 2.6.1-5 GNU C Library: Shared libraries
ii libselinux1 2.0.15-2+b1 SELinux shared libraries
coreutils recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Tue, Oct 16, 2007 at 12:43:52AM -0700, Zack Weinberg wrote:
$ sudo dd if=/dev/zero of=/dev/sde1 bs=512b count=4013650
dd: writing `/dev/sde1': No space left on device
7840+0 records in
7839+0 records out
2054988800 bytes (2.1 GB) copied, 199.649 seconds, 10.3 MB/s
If it really copied 2054988800 bytes, it should have printed 4013650 records
out. If it really only copied 7839 records of 512 bytes each, it only copied
4013568 bytes.
Note that the documentation states that the suffix "b" indicates blocks,
meaning a multiple of 512.
Mike Stone
--- End Message ---