Package: coreutils
Version: 8.5-1
Severity: normal
File: /bin/dd

For some reason the following command:

dd if=/dev/zero of=testfile_4G bs=4G count=1

produces a 2G file:

$ dd if=/dev/zero of=testfile_4G bs=4G count=1 
0+1 records in
0+1 records out
2147479552 bytes (2.1 GB) copied, 64.1528 s, 33.5 MB/s

I could produce a 4G file by concatenating the output file with itself:

$ cat testfile_4G testfile_4G > final_4G 
$ du -sh *
4.1G    final_4G
2.1G    testfile_4G


Thanks

-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages coreutils depends on:
ii  libacl1                       2.2.49-4   Access control list shared library
ii  libattr1                      1:2.4.44-2 Extended attribute shared library
ii  libc6                         2.13-10    Embedded GNU C Library: Shared lib
ii  libselinux1                   2.0.96-1   SELinux runtime shared libraries

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to