From owner-freebsd-current@freebsd.org Thu Jul 28 21:53:56 2016 Return-Path: Delivered-To: freebsd-current@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 60ECBBA7F8A for ; Thu, 28 Jul 2016 21:53:56 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (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 1FDC810E9; Thu, 28 Jul 2016 21:53:56 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x22b.google.com with SMTP id r9so99318553ywg.0; Thu, 28 Jul 2016 14:53:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Hx/BX6x7I+Honc77KbQTZ67N7Ia3mniGqSBR8Yl+f9Q=; b=W5FYgCEpQH5QKeGYNODSVuCPqOgzGG1xWRwyLCf8SggBR1ZWTC0G6e0Q2rr2g0dE3H x8VkoA09NeqdFAETL3NA0DSYOTKYeqv/vIu0MwIqxLbrswgBNYAVZRiFyR3bfDx9YfZ9 7qcZ1R3ffcqm3r1mnJBUol3Ee+9KTG9HTliQnBpFXvASqpmDwV+kmkaIGVAsCdbXgdBW hqjORRRBHc8W4fiHXra235Q0/YlPiYXf46tGhF2vhqEDemLKBl1Ggikm3cooNlYOrPVg 124qiePxENSK9UYp3ybjuKJMMK5lmJnHy4oTi3NUqhxMmQHBkB/QnlcnCe892bkzY9Ot iLaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Hx/BX6x7I+Honc77KbQTZ67N7Ia3mniGqSBR8Yl+f9Q=; b=UFky+2IHQ+nk5XSpYRjYlw1TBReknCy8I1T67+AAMSBvMzjFNQJxuPNeLX/Iit3Kkx 5GDCyAazr69Y1apQb/jcYxIS6QEMAKGbVstt+vfTk5XyTDGt2DyqiuF4pPBh0UEiu6de A9ehNdmC0US82leRFLI2O7risEMU+66l6ee5ctrIAT1VqBa4efN8/7FU/06SGaCbDl7i 8vV9bSKR1PMu1009TJWwOiE35ztNMIoTIvNK/e5dGTqaxfb7wusXGCkCbGdi+RQTGpVs 98A5qDGSHip5eVW1gAMjhQMyKzziUxMZBbxCTF8RusM5zfaZQLv2H8NHckU16z0Zrrh9 vB3A== X-Gm-Message-State: AEkoouuDF4CjyVhS/vWeeRQ1TKzAYBZqv0CO9idaFijEv6dIVNiS95HAuRbYCPBfMGnWzllY6TuBy0em7WrneQ== X-Received: by 10.129.76.79 with SMTP id z76mr31563996ywa.33.1469742835210; Thu, 28 Jul 2016 14:53:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.51.150 with HTTP; Thu, 28 Jul 2016 14:53:54 -0700 (PDT) In-Reply-To: <20160728194822.GF26793@gmail.com> References: <20160728020548.GD26793@gmail.com> <5e49ab87-65ff-fe20-1e50-387e3484cc47@FreeBSD.org> <20160728194822.GF26793@gmail.com> From: Ultima Date: Thu, 28 Jul 2016 17:53:54 -0400 Message-ID: Subject: Re: Boot environments and zfs canmount=noauto To: avg@freebsd.org Cc: Allan Jude , freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2016 21:53:56 -0000 Is this actually required? Instead of the extra steps, how about just moving/creating each dataset into each BE (or at least the ones desired) and setting them to mountpoint=inherit. With zfs_enable="YES" this should mount the dataset appropriately. Only the root BE should need canmount=noauto because if the parent dataset is not mounted the child will inherently not mount. Is this not sufficient?