Date: Thu, 24 Apr 2008 10:47:30 +0100 From: Ceri Davies <ceri@submonkey.net> To: Doug Rabson <dfr@rabson.org> Cc: cvs-src@freebsd.org, Marcel Moolenaar <xcllnt@mac.com>, src-committers@freebsd.org, cvs-all@freebsd.org, John Baldwin <jhb@freebsd.org> Subject: Re: cvs commit: src/sbin/gpt gpt.c Message-ID: <20080424094729.GB46389@submonkey.net> In-Reply-To: <1B15246A-CA20-4448-B3AA-303C154D0729@rabson.org> References: <200804231848.m3NImajV044275@repoman.freebsd.org> <24ADF1BE-47FF-43DD-A189-10D876FBE515@rabson.org> <200804231509.31424.jhb@freebsd.org> <D88F8D5D-982D-417F-A3CB-8EE0B3A1F3EB@mac.com> <1B15246A-CA20-4448-B3AA-303C154D0729@rabson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--/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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080424094729.GB46389>