Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2006 17:26:11 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: [PATCH] adding two new options to 'cp'
Message-ID:  <20060801072611.GA717@turion.vk2pj.dyndns.org>
In-Reply-To: <ealpn1$lan$1@sea.gmane.org>
References:  <200607271150.k6RBoM9p031745@lurza.secnetix.de> <44C8FB65.9020102@FreeBSD.org> <44CE03D2.2050803@centtech.com> <17614.4005.407223.621637@bhuda.mired.org> <44CE199C.2020500@centtech.com> <17614.8289.134373.387558@bhuda.mired.org> <96b30c400607310847s1d2f845eo212b234d03f51e9a@mail.gmail.com> <17614.10982.499561.139268@bhuda.mired.org> <ealpn1$lan$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--lrZ03NoBR/3+SXJZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, 2006-Jul-31 22:42:49 +0200, Ivan Voras wrote:
>I agree with this, and while you're in there, can you add -s to copy=20
>sparse files (via the usual "if the buffer is all nulls, seek beyond eof=
=20
>instead of writing" trick)?

Note that it isn's possible to accurately distinguish between a block
of NULs and a hole in the file through the filesystem.  The only way
to accurately copy a sparse file is with dump/restore.

On Mon, 2006-Jul-31 22:37:56 +0200, Ivan Voras wrote:
>To badly paraphase [1] a quote: "Here, have a $1, buy yourself a GB of=20
>storage..." :)

This is true in the desktop and server market but is not true in the
embedded market and only marginally true for laptops.

--=20
Peter Jeremy

--lrZ03NoBR/3+SXJZ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFEzwIT/opHv/APuIcRAmEmAJ90WuXGd8QbxLyldLSGqP3gJEx1GACaArTO
YcvQyPnpUXOGRnao40mvi6M=
=fWaH
-----END PGP SIGNATURE-----

--lrZ03NoBR/3+SXJZ--



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