Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2006 23:17:08 +0100
From:      Joerg Pernfuss <elessar@bsdforen.de>
To:        freebsd-geom@freebsd.org
Subject:   Re: Disk copy
Message-ID:  <20060218231708.6240d912@loki>
In-Reply-To: <43F79303.5050808@inse.ru>
References:  <43F744FB.2060503@inse.ru> <20060218171638.6ac81f82@loki> <43F79303.5050808@inse.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_N_+lvlg5L1rK9KFMt/b/PGV
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sun, 19 Feb 2006 00:34:59 +0300
Roman Kurakin <rik@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).


~/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>


--=20
| /"\   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.             |

--Sig_N_+lvlg5L1rK9KFMt/b/PGV
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFD95zuH31s/bvKrSQRAluFAJ9qOR/Km8k5u+FL6kQAdZq4CfPkcgCePlbO
3gai+jJoAjfKO/85mZKD6eE=
=+I45
-----END PGP SIGNATURE-----

--Sig_N_+lvlg5L1rK9KFMt/b/PGV--




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