bin/121287: dd(1) ignores any conversions if 'bs' was specified

Jordan Sissel psionic at gmail.com
Sun Mar 9 05:40:03 UTC 2008


The following reply was made to PR bin/121287; it has been noted by GNATS.

From: "Jordan Sissel" <psionic at gmail.com>
To: bug-followup at FreeBSD.org, nick at anywi.com
Cc:  
Subject: re: bin/121287: dd(1) ignores any conversions if 'bs' was specified
Date: Sat, 8 Mar 2008 21:03:23 -0800

 % dd if=/dev/zero conv=sparse ibs=1m count=100 of=myfile
 100+0 records in
 204800+0 records out
 104857600 bytes transferred in 0.274636 secs (381805694 bytes/sec)
 % du -hs myfile
  48K    myfile
 % ls -l myfile
 -rw-r--r--  1 jls  jls  104857600 Mar  8 12:12 myfile
 
 Setting ibs and conv=sparse correctly generates a sparse file.
 
 Additionaly, in your report you show two examples, both of which would
 never create sparse files (despite your filenames containing
 'sparsefile')
 
 Can you elaborate on this? I don't really see a problem.
 
 -Jordan


More information about the freebsd-bugs mailing list