From owner-freebsd-geom@FreeBSD.ORG Tue Jan 14 03:42:32 2014 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4E78C9CB; Tue, 14 Jan 2014 03:42:32 +0000 (UTC) Received: from mail.xcllnt.net (mail.xcllnt.net [50.0.150.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C339E188A; Tue, 14 Jan 2014 03:42:31 +0000 (UTC) Received: from [192.168.2.84] (50-0-150-213.dsl.static.sonic.net [50.0.150.213]) (authenticated bits=0) by mail.xcllnt.net (8.14.7/8.14.7) with ESMTP id s0E3gQsb037733 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 13 Jan 2014 19:42:28 -0800 (PST) (envelope-from marcel@xcllnt.net) Content-Type: multipart/signed; boundary="Apple-Mail=_4B43F5BB-ABB8-4432-B5DB-40FD5FB9A516"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: "deep" gpart backup? From: Marcel Moolenaar In-Reply-To: <07F2E9B0-F695-4A1D-B046-C902F0ED1A0E@FreeBSD.org> Date: Mon, 13 Jan 2014 19:42:26 -0800 Message-Id: <4C2C8202-D6B7-4E3A-BE6C-26D362300A2E@xcllnt.net> References: <1023566295.20140105015301@serebryakov.spb.ru> <1389461267.16576.69479689.0A3D893A@webmail.messagingengine.com> <07F2E9B0-F695-4A1D-B046-C902F0ED1A0E@FreeBSD.org> To: Mark Felder X-Mailer: Apple Mail (2.1827) Cc: freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 03:42:32 -0000 --Apple-Mail=_4B43F5BB-ABB8-4432-B5DB-40FD5FB9A516 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Jan 13, 2014, at 7:36 PM, Mark Felder wrote: >=20 > On Jan 13, 2014, at 21:34, Marcel Moolenaar wrote: >=20 >> Uh, ok. No alias know. Raw value it is... >>=20 >> ns1% sudo gpart add -t \!0xa9 -s 1023 md0 >> md0s1 added >> ns1% gpart show md0 >> =3D> 1 2047 md0 MBR (1.0M) >> 1 1023 1 !169 (512K) >> 1024 1024 - free - (512K) >=20 > Yay! Can you slip that into the man page? That would be great :-) Ok, I need your help. The manpage does mention it, so it's probably not too clear. This is what the manpage says: : PARTITION TYPES Partition types are identified on disk by particular strings or = magic values. The gpart utility uses symbolic names for common partition = types so the user does not need to know these values or other details of = the partitioning scheme in question. The gpart utility also allows the = user to specify scheme-specific partition types for partition types that = do not have symbolic names. Symbolic names currently understood are: : freebsd A FreeBSD partition subdivided into filesystems = with a BSD disklabel. This is a legacy partition type = and should not be used for the APM or GPT schemes. = The scheme-specific types are "!165" for MBR, = "!FreeBSD" for APM, and "!516e7cb4-6ecf-11d6-8ff8-00022d09712b" = for GPT. : Does it help if we add an example? --=20 Marcel Moolenaar marcel@xcllnt.net --Apple-Mail=_4B43F5BB-ABB8-4432-B5DB-40FD5FB9A516 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlLUsiIACgkQpgWlLWHuifZQqwCeLR7vEOYtdkLTZodBoj/3k5IU oU4AnjJ0QDhU6kKGlOyOJjiOvGjYD7vW =5HZk -----END PGP SIGNATURE----- --Apple-Mail=_4B43F5BB-ABB8-4432-B5DB-40FD5FB9A516--