Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Oct 2001 19:12:49 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        nate@yogotech.com (Nate Williams)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: dump/restore and DIRPREF 
Message-ID:  <4959.1002042769@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 02 Oct 2001 11:05:00 MDT." <15289.62396.178582.398770@nomad.yogotech.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <15289.62396.178582.398770@nomad.yogotech.com>, Nate Williams writes
:
>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.

Dump reads the raw device and finds everything by hand.

Restore (like tar!) just open/write/close/chown regular files.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4959.1002042769>