From owner-freebsd-fs@FreeBSD.ORG Wed Sep 26 16:35: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 9AA04106566C for ; Wed, 26 Sep 2012 16:35:31 +0000 (UTC) (envelope-from break19@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5EAE68FC12 for ; Wed, 26 Sep 2012 16:35:31 +0000 (UTC) Received: by ieak10 with SMTP id k10so2746767iea.13 for ; Wed, 26 Sep 2012 09:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=kg5ZVmocPn5rl/kTiYqpf4mhdUFY0NW7+ktCkNIzFmA=; b=iPj1nIurmJO/YXEw6oLlBTx2ODpGxsTHWC+KXwZybCStRSs6znH6JlFx4fVZfWTKL9 Ed1oxBXdforqg93Ckan1qUNKqAlsv0UKNgtUhZ1t0rdjzPlADvHRgaiPb4S8+Uhb4FJC /vcZbdELKaRkL/qe+KJppjyte19JXeiNWmqWyYA+KVe7duJIQUH/LmelusUuV4dwIV/5 07hVq+jog5hLwX3wkI9wDnwAqP7uvvKm7HrHsQ5y4P1y9ZeyFWffN0arHMoHmt1kOWze 4/C+BQSh9hyIHwuRqfb7Arfu8O0HY+b6S5p1sCu6a2yIs/Z9yCUr6Vq/hI3OFTL3LNG0 7Fog== Received: by 10.50.220.129 with SMTP id pw1mr1444806igc.47.1348677330923; Wed, 26 Sep 2012 09:35:30 -0700 (PDT) Received: from [192.168.0.120] ([173.157.79.63]) by mx.google.com with ESMTPS id ua2sm3026333igb.7.2012.09.26.09.35.29 (version=SSLv3 cipher=OTHER); Wed, 26 Sep 2012 09:35:30 -0700 (PDT) Message-ID: <50632ED0.2050901@gmail.com> Date: Wed, 26 Sep 2012 11:35:28 -0500 From: Chuck Burns User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <505DEF5F.8060401@FreeBSD.org> <201209260941.29016.jhb@freebsd.org> In-Reply-To: <201209260941.29016.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 16:35:31 -0000 On 9/26/2012 8:41 AM, John Baldwin wrote: > 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. > My $0.02 -- Keep "zfs:" in for consistency's sake. -- Chuck Burns