From owner-cvs-all@FreeBSD.ORG Thu Apr 24 09:47:34 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E8301065677; Thu, 24 Apr 2008 09:47:34 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc3-cdif2-0-0-cust64.cdif.cable.ntl.com [81.106.128.65]) by mx1.freebsd.org (Postfix) with ESMTP id 5DE618FC0A; Thu, 24 Apr 2008 09:47:34 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Joy38-000Nyv-6q; Thu, 24 Apr 2008 10:47:30 +0100 Date: Thu, 24 Apr 2008 10:47:30 +0100 From: Ceri Davies To: Doug Rabson Message-ID: <20080424094729.GB46389@submonkey.net> References: <200804231848.m3NImajV044275@repoman.freebsd.org> <24ADF1BE-47FF-43DD-A189-10D876FBE515@rabson.org> <200804231509.31424.jhb@freebsd.org> <1B15246A-CA20-4448-B3AA-303C154D0729@rabson.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/WwmFnJnmDyWGHa4" Content-Disposition: inline In-Reply-To: <1B15246A-CA20-4448-B3AA-303C154D0729@rabson.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Ceri Davies Cc: cvs-src@freebsd.org, Marcel Moolenaar , src-committers@freebsd.org, cvs-all@freebsd.org, John Baldwin Subject: Re: cvs commit: src/sbin/gpt gpt.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2008 09:47:34 -0000 --/WwmFnJnmDyWGHa4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 24, 2008 at 10:21:20AM +0100, Doug Rabson wrote: >=20 > On 23 Apr 2008, at 21:54, Marcel Moolenaar wrote: >=20 >>=20 >> On Apr 23, 2008, at 12:09 PM, John Baldwin wrote: >>=20 >>> On Wednesday 23 April 2008 02:54:40 pm Doug Rabson wrote: >>>>=20 >>>> On 23 Apr 2008, at 19:48, John Baldwin wrote: >>>>=20 >>>>> jhb 2008-04-23 18:48:36 UTC >>>>>=20 >>>>> FreeBSD src repository >>>>>=20 >>>>> Modified files: (Branch: RELENG_7) >>>>> sbin/gpt gpt.c >>>>> Log: >>>>> MFC: Add 'zfs' as an alias for the FreeBSD ZFS UUID. >>>>=20 >>>> Does it make sense to have a FreeBSD ZFS UUID? ZFS is a portable >>>> filesystem format - shouldn't we use whatever UUID Solaris uses for >>>> ZFS in GPT? >>>=20 >>> That's a good question. Maybe pjd@ or marcel@ have opinions on the=20 >>> matter? >>=20 >> There's no such UUID as far as I know, so I thought it safer >> to create a FreeBSD-specific one because we already have >> incompatibilities between operating systems for things like >> UFS and BSD labels. While ZFS may be portable, I'm not at all >> sure that different OSes are feature compatible and for that >> it's good to know where the ZFS originates from. Also, we may >> create an UUID with the intend that it's a common UUID, but >> getting other OSes to use that UUID is far from easy. >=20 > As far as I can make out from the Solaris source, it uses: >=20 > 6a898cc3-1dd2-11b2-99a6-080020736631 V_USR >=20 > Unfortunately it seems to use this UUID for lots of other things too. I= =20 > think it sets the partition name to "zfs" for partitions that are part of= a=20 > ZFS pool. =46rom libzfs_pool.c: 2628 * Why we use V_USR: V_BACKUP confuses users, and is considered 2629 * disposable by some EFI utilities (since EFI doesn't have a back= up 2630 * slice). V_UNASSIGNED is supposed to be used only for zero size 2631 * partitions, and efi_write() will fail if we use it. V_ROOT, V_= BOOT, 2632 * etc. were all pretty specific. V_USR is as close to reality as= we 2633 * can get, in the absence of V_OTHER. To Solaris administrators, the majority of the V_ p_tag values are considered exactly equivalent, since the format(1M) command allows you to set them to anything when an SMI label is used. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --/WwmFnJnmDyWGHa4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFIEFcxocfcwTS3JF8RAl6CAJ93hRd5frBVgziAu7+SXASjzhm+jwCfXOlR PJH53THbBILYi1YzkoAtim0= =abDZ -----END PGP SIGNATURE----- --/WwmFnJnmDyWGHa4--