From owner-freebsd-current@FreeBSD.ORG Sat Jan 27 21:42:39 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4134416A402 for ; Sat, 27 Jan 2007 21:42:39 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id C4C3513C48E for ; Sat, 27 Jan 2007 21:42:36 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l0RLgZ93016758; Sun, 28 Jan 2007 08:42:35 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l0RLgYtU016757; Sun, 28 Jan 2007 08:42:34 +1100 (EST) (envelope-from peter) Date: Sun, 28 Jan 2007 08:42:34 +1100 From: Peter Jeremy To: Brian Reichert Message-ID: <20070127214234.GO927@turion.vk2pj.dyndns.org> References: <17850.11127.944124.276290@jerusalem.litteratus.org> <200701261733.l0QHXdY1078259@lurza.secnetix.de> <20070126224352.GD927@turion.vk2pj.dyndns.org> <20070127165437.GB41546@numachi.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ULyIDA2m8JTe+TiX" Content-Disposition: inline In-Reply-To: <20070127165437.GB41546@numachi.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-current@freebsd.org Subject: Re: Interesting speed benchmarks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2007 21:42:39 -0000 --ULyIDA2m8JTe+TiX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, 2007-Jan-27 11:54:37 -0500, Brian Reichert wrote: >On Sat, Jan 27, 2007 at 09:43:52AM +1100, Peter Jeremy wrote: >> Note that dump/restore is the only tool that can correctly reproduce >> sparse files. tar, cpio and pax also have filename and file size >> restrictions. I don't think that cpio or pax support ACLs or file >> flags. > >I thought 'star' handled sparse files and all the extra magic? Not >that this is germaine to the topic at hand... You can detect a sparse file by comparing the length of the file with the number of allocated blocks. You can't determine whether a specific block is all NULLs or not allocated without either bypassing the filesystem (which dump does) or using a syscall to retrieve a bitmap of allocated blocks (which FreeBSD doesn't have). =20 --=20 Peter Jeremy --ULyIDA2m8JTe+TiX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFu8dK/opHv/APuIcRApE1AJ9BnKXriCb87SVQ+1x7AL/pcyAo1ACfXI/f FTMOLQaDVdbdfZQU2xKNMFo= =pUnu -----END PGP SIGNATURE----- --ULyIDA2m8JTe+TiX--