From owner-freebsd-hackers Tue Oct 2 10:10:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 3CE7537B408 for ; Tue, 2 Oct 2001 10:10:49 -0700 (PDT) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f92HAb329369; Tue, 2 Oct 2001 10:10:37 -0700 Date: Tue, 2 Oct 2001 10:10:37 -0700 From: Brooks Davis To: Nate Williams Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: dump/restore and DIRPREF Message-ID: <20011002101037.A28551@Odin.AC.HMC.Edu> References: <15289.62396.178582.398770@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15289.62396.178582.398770@nomad.yogotech.com>; from nate@yogotech.com on Tue, Oct 02, 2001 at 11:05:00AM -0600 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 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 02, 2001 at 11:05:00AM -0600, Nate Williams wrote: > 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. >=20 > Is my assumption correct? No. Dump reads the raw disk directly, but restore doesn't. Dump needs to in order to find the actual location of holes in files, but recreating them can be done in userland by simply seeking over them so there's no need to write directly to the raw disk on restore. Assuming you can read the dumps and you don't care about the file permissions, you can restore as any user. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7ufUNXY6L6fI4GtQRAgM2AKCaqygl9dmmAxkWaSOebB2srhiy0wCffWoJ i+eGSzyv7Pl8svUwRBM522Q= =n5tP -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message