From owner-freebsd-fs@FreeBSD.ORG Sat Oct 6 20:09:42 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8153E1065670; Sat, 6 Oct 2012 20:09:42 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9FF378FC18; Sat, 6 Oct 2012 20:09:41 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA10242; Sat, 06 Oct 2012 23:09:34 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TKagn-0004b8-Pf; Sat, 06 Oct 2012 23:09:33 +0300 Message-ID: <50708FFB.40007@FreeBSD.org> Date: Sat, 06 Oct 2012 23:09:31 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120913 Thunderbird/15.0.1 MIME-Version: 1.0 To: John Baldwin References: <505DEF5F.8060401@FreeBSD.org> <201209260941.29016.jhb@freebsd.org> In-Reply-To: <201209260941.29016.jhb@freebsd.org> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org 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: Sat, 06 Oct 2012 20:09:42 -0000 on 26/09/2012 16:41 John Baldwin said the following: > 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. > OK, I implemented this suggestion and committed the code. Thank you! -- Andriy Gapon