From owner-freebsd-fs@FreeBSD.ORG Wed Sep 26 13:53:31 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFA891065670; Wed, 26 Sep 2012 13:53:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id A34078FC1D; Wed, 26 Sep 2012 13:53:31 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 0648CB9B2; Wed, 26 Sep 2012 09:53:31 -0400 (EDT) From: John Baldwin To: freebsd-fs@freebsd.org Date: Wed, 26 Sep 2012 09:41:28 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p20; KDE/4.5.5; amd64; ; ) References: <505DEF5F.8060401@FreeBSD.org> In-Reply-To: <505DEF5F.8060401@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201209260941.29016.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 26 Sep 2012 09:53:31 -0400 (EDT) Cc: Andriy Gapon Subject: Re: zfsboot and zfsloader: normalization of filesystem names X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2012 13:53:31 -0000 On Saturday, September 22, 2012 1:03:27 pm Andriy Gapon wrote: > > Currently zfsboot uses the following format to specify a ZFS filesystem name in > a full file path: > poolname:filesystem/name:/path/to/file > ZFS loader uses this format: > zfs:poolname/filesystemname:/path/to/file > > The following patchset: > http://people.freebsd.org/~avg/zfs-boot-naming.diff > unifies the naming. > zfsboot format will be: poolname/filesystemname:/path/to/file > Note that it is still different from zfsloader - "zfs:" prefix is missing. This > is because unlike the loader zfsboot supports only ZFS filesystem, so the prefix > is redundant. But I can still add support for it if there is a popular request. I think this idea sounds sound. You could easily let zfsboot support both by just having it skip over a 'zfs:' prefix if it sees one. -- John Baldwin