Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2006 20:40:31 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Khaled Hussain <khaled@ipbill.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: cloning a FreeBSD HDD
Message-ID:  <20060404104031.GI683@turion.vk2pj.dyndns.org>
In-Reply-To: <HCEOIFALKKLBLJPENPNOGENDCAAA.khaled@ipbill.com>
References:  <20060328.210412.18287651.imp@bsdimp.com> <HCEOIFALKKLBLJPENPNOGENDCAAA.khaled@ipbill.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2006-Apr-04 11:12:03 +0100, Khaled Hussain wrote:
>Why does everyone talk about dump+restore as a pair? I thought it was
>possible just to dump a filesystem to a different hard disk i.e.
>dump -0a -f /dev/ad2 /

It is.  But /dev/ad2 will have a dumpfile on it, not a filesystem.
The only thing that can then read /dev/ad2 is restore.

>Also, how can I find out which /boot/boot# file a freebsd system is using by
>default?

None of the ones in the filesystem - these files are embedded into the
beginning of the hard disk.

One of boot0, boot0sio or mbr is located in absolute sector 0 of the disk.
boot1 is located in sector 0 of the bootable slice
boot2 is located in the (I think) sectors 1-15 of partition a.

-- 
Peter Jeremy



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