From owner-freebsd-arch@FreeBSD.ORG Tue Jul 22 03:12:01 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8976437B401 for ; Tue, 22 Jul 2003 03:12:01 -0700 (PDT) Received: from cirb503493.alcatel.com.au (c211-28-27-130.belrs2.nsw.optusnet.com.au [211.28.27.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9C0543FCB for ; Tue, 22 Jul 2003 03:11:59 -0700 (PDT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1])h6MABvgh027496; Tue, 22 Jul 2003 20:11:58 +1000 (EST) (envelope-from jeremyp@cirb503493.alcatel.com.au) Received: (from jeremyp@localhost) by cirb503493.alcatel.com.au (8.12.8/8.12.8/Submit) id h6MABg5Q027495; Tue, 22 Jul 2003 20:11:42 +1000 (EST) Date: Tue, 22 Jul 2003 20:11:42 +1000 From: Peter Jeremy To: Mark Murray Message-ID: <20030722101142.GB4105@cirb503493.alcatel.com.au> References: <3F16DAFA.41E237F8@mindspring.com> <200307210752.h6L7q3Z2046577@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200307210752.h6L7q3Z2046577@grimreaper.grondar.org> User-Agent: Mutt/1.4.1i cc: freebsd-arch@freebsd.org Subject: Re: Things to remove from /rescue X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 10:12:01 -0000 On Mon, Jul 21, 2003 at 08:52:03AM +0100, Mark Murray wrote: >Terry Lambert writes: >> David O'Brien wrote: >> > - tar, pax (w/{bz,g}zip) can do everything GNU tar can. >> >> I agree with everything but this one. Neither of these things can >> make sparse files. > >Incorrect. Both can. Not accurately. They can detect that a file is sparse by comparing the st_size and st_blocks fields returned by stat(). They can't accurately differentiate between a block of NULs and a non-allocated block in a sparse file. AFAIK, the only utility that can exactly reproduce a sparse file is dump/restore. Peter