backups & cloning

Warren Block wblock at
Wed Sep 30 03:37:54 UTC 2009

On Wed, 30 Sep 2009, Polytropon wrote:

> On Tue, 29 Sep 2009 22:48:30 -0400, PJ <af.gourmet at> wrote:
>> Duh.... I think I see where this is leading... I'm pretty sure it was
>> issued from / which makes it redundant, right? I should have issued it
>> from somewhere else, like from home, usr or whatever but not from / as
>> that is what I was trying to dump.... :-[
> The working directory does only matter to the restore command.
> The dump command just cares for the partition name. In order
> to find out what partition corresponds with which subtree,
> check /etc/fstab or run the
> 	# mount
> 	/dev/ad0s1a on / (ufs, local)
> 	/dev/ad0s1d on /tmp (ufs, local, soft-updates)
> 	/dev/ad0s1e on /var (ufs, local, soft-updates)
> 	/dev/ad0s1f on /usr (ufs, local, soft-updates)
> 	/dev/ad0s1g on /export/home (ufs, local, soft-updates)
> command, as in the example above.

Why make it harder than it needs to be?  Call it / or /var or /usr 
instead of /dev/ad0s1whatever.  dump will handle it.  It's built for 
that.  If it's a live filesystem, add -L.

-Warren Block * Rapid City, South Dakota USA

More information about the freebsd-questions mailing list