From owner-freebsd-arch@freebsd.org Wed Aug 16 14:55:41 2017 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F35CDE06FD for ; Wed, 16 Aug 2017 14:55:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2A06C198F for ; Wed, 16 Aug 2017 14:55:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id 2617EDE06FC; Wed, 16 Aug 2017 14:55:41 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25BC5DE06FB for ; Wed, 16 Aug 2017 14:55:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6140198B for ; Wed, 16 Aug 2017 14:55:40 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x235.google.com with SMTP id m34so18299807iti.1 for ; Wed, 16 Aug 2017 07:55:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=lbvRr5x7UKjjin/Qbm3OV7+vh3nKBqE3zbnNu+2APnw=; b=cgFfTYwDH69A4vLg4wxz8uPgt1+Y5wMtvPCg8WavDd3TY0ak2vjKOW6MA6JMghF1tr uWCmItrrKy4dJ0QoKPDM8PMby6l6GgIo3bLj5n4ELsaPeLwW+UbNkYLl4mXw3JY4v0PW 8p7owF37cyRUKQBArevNeVwcvIMlWNnVE+cvFYUGOmdWJZST85p6nFtJdFYX8EtYfaFD 4z7JRL+oVyqPUssVY8IFnbvw89oHNIiGQA7iYjtGlg7vm+3vTbeYwQAqjco/91INF6bF gaoEbEUDiViUx/SFT75RfLKMBIxtiZDL+ora6p/S/baJFaVY8KAYAkM/4hEbk5GUKdfO 5Vew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=lbvRr5x7UKjjin/Qbm3OV7+vh3nKBqE3zbnNu+2APnw=; b=T/tKlDugT06kydO9H+h9K39qUk2fgkFP5WnOhk0e6yWzr1pgmGt6s6dgTn3Eag0VZF Z/LMwPAjg7K+vDpdnon8LlHdIsJHTAHHpD801j8ylFa/BKfTVzq8Cf0OD5rrvOzxCEig xUsFVJ5gsopalby248+5i6iaM2YJ6X7/ik4SBWXgYFkeBpP5Hp+8n2pYsULsV2Yc9ex6 i50CJFNkkkNFuLbfJfH9r0u/7hojysHcamILkWHOugrqyijgu+Z4j0lDXcMXn6bB5pbG Fpwq6E5EZVMbCzL//UcSvmMgGaZsD3eAdd5arX1aZeQJxu4HABX1O8wFiRXbPcmE42Yr HIIw== X-Gm-Message-State: AHYfb5iYXN2G4+drskSF0S5ZIYX8phCdgd11MG69Ouy1uyvwMmRaw38z k9fCzEKdkq+QlzIq2emLYp9fkKg1wOVU X-Received: by 10.36.68.193 with SMTP id o184mr1967217ita.59.1502895340206; Wed, 16 Aug 2017 07:55:40 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.10.71 with HTTP; Wed, 16 Aug 2017 07:55:39 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: References: From: Warner Losh Date: Wed, 16 Aug 2017 08:55:39 -0600 X-Google-Sender-Auth: ZXnNy4GZGDvtCGQYKeTbVxH10EU Message-ID: Subject: Re: Proposed Enhancements to the EFI booting To: Andriy Gapon Cc: "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2017 14:55:41 -0000 On Wed, Aug 16, 2017 at 1:44 AM, Andriy Gapon wrote: > On 16/08/2017 07:15, Warner Losh wrote: > > If you want to boot ZFS, it can be encoded as File('ZFS') or > > File('ZFS:pool'). It's all OS specific. > > Just a note that it would be nice to be able to select a specific > filesystem within a ZFS pool as well. That would provide a more robust > alternative to zfsbootcfg on EFI systems. > I concur. I'd like to be able to specify the whole path somehow. I'm looking for the standard way to do that. I also need a way to just say "Find a ZFS pool so we do what we do now" and "Find ZFS pool FRED and do what we do now" Someone (maybe you) on IRC suggested zfs:/pool/file/system:/path/to/file since that's what's used now. It doesn't look like a typical URI, but looking at RFC 3986 I see that it fits the ABNF at the end, as well as being congruent with some of the examples. Since there's no 'authority' section, it's fine. I'm not aware of needing any authority or credentials to access the pool, so I think that's fine. Warner