OT: fdisk

Polytropon freebsd at edvax.de
Sun Oct 3 09:09:56 UTC 2010


On Sun, 3 Oct 2010 01:15:06 -0500, Brandon Gooch <jamesbrandongooch at gmail.com> wrote:
> I believe that the above 'if' operand to dd should instead be /dev/da1
> (without the 's1' slice). Also, the operand 'of' will need to point to
> a device, such as /dev/ad12, or a file on a mounted file system, such
> as /mnt/my_disk_image.img

A good advice. Also: You should, when in doubt, never, NEVER operate
on the disk you want to restore data from. Dump the whole disk into
a file and operate on THAT file. Use mdconfig to make it a block
device if needed.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list