Disk copy
Roman Kurakin
rik at inse.ru
Sun Feb 19 04:10:32 PST 2006
Joerg Pernfuss:
>On Sun, 19 Feb 2006 00:34:59 +0300
>Roman Kurakin <rik at inse.ru> wrote:
>
>
>
>>How this will deal with partition table? File is not partition copy,
>>it is full copy of entire disk with partition table etc.
>>
>>
>
>It won't deal with anything. It will simply provide the file as a
>device node. If the file contains valid file system structures, then
>GEOM will create these (similar to a usb drive getting plugged in).
>
Thanks! I was unaware of such behaviour. It is really works and I can access
my backup images.
rik
>~/test> ls -l
>-rw-r--r-- 1 elessar users 20971520 18 Feb 23:09 container
>
>~/test> file container
>container: x86 boot sector
>
>~/test> sudo mdconfig -a -t vnode -f container -u 0
>
>~/test> ls /dev/md0*
>/dev/md0 /dev/md0s1 /dev/md0s1a /dev/md0s1c
>
>~/test> sudo mdconfig -d -u 0
>~/test>
>
>
More information about the freebsd-geom
mailing list