Disk copy

Joerg Pernfuss elessar at bsdforen.de
Sat Feb 18 08:17:15 PST 2006


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]


-- 
| /"\   ASCII ribbon   |  GnuPG Key ID | e86d b753 3deb e749 6c3a |
| \ / campaign against |    0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
|  X    HTML in email  |  Now featuring a brand new GPG-Key!      |
| / \     and news     |  Please update your keyring.             |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20060218/00470609/signature.bin


More information about the freebsd-geom mailing list