Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2008 05:40:03 GMT
From:      "Jordan Sissel" <psionic@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   re: bin/121287: dd(1) ignores any conversions if 'bs' was specified
Message-ID:  <200803090540.m295e3gx021652@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/121287; it has been noted by GNATS.

From: "Jordan Sissel" <psionic@gmail.com>
To: bug-followup@FreeBSD.org, nick@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803090540.m295e3gx021652>