Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2006 15:34:31 -0500 (CDT)
From:      "Sean C. Farley" <sean-freebsd@farley.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Strange spaces in ls -kls output, and dd(1) trouble
Message-ID:  <20060925152701.Q18169@thor.farley.org>
In-Reply-To: <200609211802.k8LI2PoI039105@lurza.secnetix.de>
References:  <200609211802.k8LI2PoI039105@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@farley.org



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