From owner-freebsd-hackers Tue Oct 2 10:17:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id C4E9C37B403 for ; Tue, 2 Oct 2001 10:17:06 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA14085; Tue, 2 Oct 2001 11:17:05 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA21975; Tue, 2 Oct 2001 11:17:04 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15289.63120.478430.9876@nomad.yogotech.com> Date: Tue, 2 Oct 2001 11:17:04 -0600 To: Poul-Henning Kamp Cc: nate@yogotech.com (Nate Williams), freebsd-hackers@FreeBSD.ORG Subject: Re: dump/restore and DIRPREF In-Reply-To: <4959.1002042769@critter.freebsd.dk> References: <15289.62396.178582.398770@nomad.yogotech.com> <4959.1002042769@critter.freebsd.dk> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > >After Kris's recent report of 'massive speedups' using dirpref, I've > >been toying with the idea of backing up my box, and then restoring them. > > > >However, backup/restore are so much faster than doing a tar/untar. > > > >If I do a backup of my FS, wipe the disk, will the 'restore' cause the > >same (ineffecient) directory layout to appear on disk? > > > >I wouldn't think so since the directory layout is controlled by the > >kernel, but I do know that dump/restore are much lower-layer tools than > >tar, so they may possibly have layout information embedded in them. > > > >Is my assumption correct? > > no. Actually, yes, but I didn't word it very well above. > Dump reads the raw device and finds everything by hand. > > Restore (like tar!) just open/write/close/chown regular files. So my assumption *is* correct that it won't matter if I use dump/restore to do the job, and that the lower-layer effeciencies of dump don't effect the resulting layout done by restore. Great, thanks for the quick response! Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message