From owner-freebsd-current@FreeBSD.ORG Thu Jul 22 07:03:16 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C47316A4CE for ; Thu, 22 Jul 2004 07:03:16 +0000 (GMT) Received: from n33.kp.t-systems-sfr.com (n33.kp.t-systems-sfr.com [129.247.16.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C61343D48 for ; Thu, 22 Jul 2004 07:03:15 +0000 (GMT) (envelope-from harti@freebsd.org) Received: from n81.sp.op.dlr.de (n81g.sp.op.dlr.de [129.247.163.1]) i6M72kX488378; Thu, 22 Jul 2004 09:02:47 +0200 Received: from zeus.nt.op.dlr.de (zeus.nt.op.dlr.de [129.247.173.3]) i6M72kf274538; Thu, 22 Jul 2004 09:02:46 +0200 Received: from beagle.kn.op.dlr.de (opkndnwsbsd178 [129.247.173.178]) by zeus.nt.op.dlr.de (8.11.7+Sun/8.9.1) with ESMTP id i6M72iV27276; Thu, 22 Jul 2004 09:02:44 +0200 (MET DST) Date: Thu, 22 Jul 2004 09:02:44 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt@beagle.kn.op.dlr.de To: Daniel Lang In-Reply-To: <20040721203105.GA55687@atrbg11.informatik.tu-muenchen.de> Message-ID: <20040722085729.O9549@beagle.kn.op.dlr.de> References: <20040721151427.GC54664@atrbg11.informatik.tu-muenchen.de> <40F963D8.6010201@freebsd.org> <20040720081051.GB3001@cirb503493.alcatel.com.au> <20040721151427.GC54664@atrbg11.informatik.tu-muenchen.de> <20040721203105.GA55687@atrbg11.informatik.tu-muenchen.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org cc: Garrett Wollman Subject: Re: NEW TAR X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Harti Brandt List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2004 07:03:16 -0000 On Wed, 21 Jul 2004, Daniel Lang wrote: DL>To Harti: DL>I admit I don't know for sure, but to my understanding the handling DL>of the sparse file is done in the filesystem layer and not in the DL>application, right? Then all possible performance benefit on reading DL>a sparse file should be gained anyway. Regardless if the application DL>(the archiver) knows about the locations of the gaps or not.... I know of at least one application that does sparse file handling in the sense that it tries to create sparse file when the underlying FS supports it - that is my PDP11 emulator. I have even a special zcp utility that may re-sparse a file by copying it and looking for 0 blocks. It's not that p11 depends on the file system supporting sparse files - it just tries to use them if they are available. Again, for tar it's a matter of speed. Didn't Tim say that with the current sparse file info layout (gtar) he needs more than one pass over the file? harti