Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 09:41:28 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-fs@freebsd.org
Cc:        Andriy Gapon <avg@freebsd.org>
Subject:   Re: zfsboot and zfsloader: normalization of filesystem names
Message-ID:  <201209260941.29016.jhb@freebsd.org>
In-Reply-To: <505DEF5F.8060401@FreeBSD.org>
References:  <505DEF5F.8060401@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209260941.29016.jhb>