From owner-freebsd-geom@FreeBSD.ORG Sat Feb 18 22:17:43 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E996D16A420 for ; Sat, 18 Feb 2006 22:17:43 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: from postfix.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4DAA43D72 for ; Sat, 18 Feb 2006 22:17:40 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: by postfix.bsdforen.de (Postfix, from userid 20000) id F2C8D6844BA; Sat, 18 Feb 2006 23:17:39 +0100 (CET) Received: from localhost (postfix [127.0.0.3]) by postfix.bsdforen.de (Postfix) with ESMTP id 652D06844B7 for ; Sat, 18 Feb 2006 23:17:39 +0100 (CET) Received: from postfix.bsdforen.de ([127.0.0.3]) by localhost (postfix.bsdforen.de [127.0.0.3]) (amavisd-new, port 10024) with LMTP id 43852-15-2 for ; Sat, 18 Feb 2006 23:17:39 +0100 (CET) Received: from loki (p549CD2B4.dip.t-dialin.net [84.156.210.180]) by postfix.bsdforen.de (Postfix) with ESMTP id D2EDA6844B6 for ; Sat, 18 Feb 2006 23:17:38 +0100 (CET) Date: Sat, 18 Feb 2006 23:17:08 +0100 From: Joerg Pernfuss To: freebsd-geom@freebsd.org Message-ID: <20060218231708.6240d912@loki> In-Reply-To: <43F79303.5050808@inse.ru> References: <43F744FB.2060503@inse.ru> <20060218171638.6ac81f82@loki> <43F79303.5050808@inse.ru> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_N_+lvlg5L1rK9KFMt/b/PGV"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Scanned: amavisd-new at bsdforen.de X-DSPAM-Result: Innocent X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 43f79d03539769071718976 X-DSPAM-User: global Subject: Re: Disk copy X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 22:17:44 -0000 --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 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--