Disk copy
Roman Kurakin
rik at inse.ru
Sat Feb 18 13:33:52 PST 2006
Joerg Pernfuss:
>On Sat, 18 Feb 2006 19:02:03 +0300
>Roman Kurakin <rik at inse.ru> wrote:
>
>
>>Hi,
>>
>> I have a disk full copy (as a file), not just partiton.
>>I guess that geom is my friend. But I cant figureout how to
>>attach it to the system via geom.
>>
>>
>
>mdconfig -a -t vnode -f $file [-u [0-9]]
>mount_[fs-type] /dev/md[whatever] /mountpoint
>$work
>umount /mountpoint
>mdconfig -d -u [0-9]
>
How this will deal with partition table? File is not partition copy, it is
full copy of entire disk with partition table etc.
rik
More information about the freebsd-geom
mailing list