Strange spaces in ls -kls output, and dd(1) trouble

Sean C. Farley sean-freebsd at farley.org
Mon Sep 25 13:34:34 PDT 2006


On Thu, 21 Sep 2006, Oliver Fromme wrote:

<snip>

> Oh by the way, "dd conv=sparse" doesn't seem to work for
> me; it doesn't create a sparse file:
>
> $ dd if=/dev/zero of=test bs=512 count=1000 conv=sparse
> 1000+0 records in
> 1000+0 records out
> 512000 bytes transferred in 0.070895 secs (7221952 bytes/sec)
> $ ls -kls test
> 528 -rw-r--r--  1 root  nfswheel  512000 Sep 21 19:58 test

It is a "feature" of dd that does not create sparse files if given a
block size.

Sean
-- 
sean-freebsd at farley.org


More information about the freebsd-stable mailing list