cvs commit: src/sbin/gpt gpt.c
Doug Rabson
dfr at rabson.org
Thu Apr 24 09:21:22 UTC 2008
On 23 Apr 2008, at 21:54, 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.
As far as I can make out from the Solaris source, it uses:
6a898cc3-1dd2-11b2-99a6-080020736631 V_USR
Unfortunately it seems to use this UUID for lots of other things too.
I think it sets the partition name to "zfs" for partitions that are
part of a ZFS pool.
More information about the cvs-src
mailing list