cvs commit: src/sbin/gpt gpt.c

Ceri Davies ceri at submonkey.net
Thu Apr 24 09:34:30 UTC 2008


On Wed, Apr 23, 2008 at 01:54:17PM -0700, Marcel Moolenaar wrote:
> 
> On Apr 23, 2008, at 12:09 PM, John Baldwin wrote:
> 
>> On Wednesday 23 April 2008 02:54:40 pm Doug Rabson wrote:
>>> 
>>> On 23 Apr 2008, at 19:48, John Baldwin wrote:
>>> 
>>>> jhb         2008-04-23 18:48:36 UTC
>>>> 
>>>> FreeBSD src repository
>>>> 
>>>> Modified files:        (Branch: RELENG_7)
>>>>   sbin/gpt             gpt.c
>>>> Log:
>>>> MFC: Add 'zfs' as an alias for the FreeBSD ZFS UUID.
>>> 
>>> 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?
>> 
>> That's a good question.  Maybe pjd@ or marcel@ have opinions on the 
>> matter?
> 
> 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.

Quite; Mac OS X has already introduced a little confusion with the
difference in its zpool versions:

  galoot% uname -a
  SunOS galoot 5.11 snv_85 i86pc i386 i86pc
  galoot% /usr/sbin/zpool upgrade -v |grep 6
   6   bootfs pool property 

  crackityjones:~ ceri$ uname -a
  Darwin crackityjones.private.submonkey.net 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar  4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386
  crackityjones:~ ceri$ zpool upgrade -v |grep 6
  This system is currently running ZFS version 6.
   6   bootfs pool property  and OSX directory type

I've yet to check what happens with a zpool created on the Mac being
imported on the OpenSolaris machine or vice versa.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080424/c2c7bafa/attachment.pgp


More information about the cvs-src mailing list