From owner-cvs-src@FreeBSD.ORG Thu Apr 24 09:21:22 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80AD7106566C; Thu, 24 Apr 2008 09:21:22 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (unknown [IPv6:2002:50b1:e8f2:1::143]) by mx1.freebsd.org (Postfix) with ESMTP id 595338FC28; Thu, 24 Apr 2008 09:21:22 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc] (unknown [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc]) by itchy.rabson.org (Postfix) with ESMTP id 1B7F93FB1; Thu, 24 Apr 2008 10:21:21 +0100 (BST) Message-Id: <1B15246A-CA20-4448-B3AA-303C154D0729@rabson.org> From: Doug Rabson To: Marcel Moolenaar In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 24 Apr 2008 10:21:20 +0100 References: <200804231848.m3NImajV044275@repoman.freebsd.org> <24ADF1BE-47FF-43DD-A189-10D876FBE515@rabson.org> <200804231509.31424.jhb@freebsd.org> X-Mailer: Apple Mail (2.919.2) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, John Baldwin Subject: Re: cvs commit: src/sbin/gpt gpt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2008 09:21:22 -0000 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.