From owner-freebsd-current@freebsd.org Thu Jul 28 19:48:27 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 00A05BA7CFC for ; Thu, 28 Jul 2016 19:48:27 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (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 ABD1B1229; Thu, 28 Jul 2016 19:48:26 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: by mail-qk0-x230.google.com with SMTP id o67so72508172qke.1; Thu, 28 Jul 2016 12:48:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=521x/Nib9rNLzkMGyLhPLYNgVX1vTy18kFhIJy3kEIk=; b=ZDNG9U0FWL57vJUYfIkHcBly0jc0pfU69Rj2DAtsrtwQxqwlsYHKTrm5lp5mMW296v oOEdCS8mo5YkSIUUjHjwXnIGu0uzAGiYNlyW/isAeelBQ5lH0kQGr3/jCseBiGiQyCWr vR4PjZ0LetQ+ajgFEmNz1kAoNz20T3WOF6V902/0sNl8LMIS5VjLCkyuwlk/xCPcR+H7 3laRzDMda7cz61inDvDMpuz1LYzFCffn0ku2AQPHzOU1cfJ6f9lTNJpwWJehcrfA9veY eHn4cQP0ya4245D8dkackcgrLxgBo8g4gkGniUKzCdOGDRGCOyQQImDVzrCV3WcUOsdn FpIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=521x/Nib9rNLzkMGyLhPLYNgVX1vTy18kFhIJy3kEIk=; b=luv8G1rWSQqVLVPMtwdWY6eD+WH3nkLRfc4CwATbCG6bBm4NMfwMFrfeNJs+tTqFwx /Cm4LHsMHe/xQhox5xIgUYOaDfUOhv13ucYF8K58YbKMVJrxM5JSleKAxJPeoUfgbvFj Z3fC22j9oqs5xOvyzTDxGevp/msKWf2QwIurlVXCVay/owumSv6gUoJqkY7BYVSwB6BT k3FP9paXqKdMGgUrqv21gJ9bcbIsw4BlSasobqybkXjI49cjCDlHopEb9e23e05AWN8f USx0Ww8L3m7J7aNtBTNspyIQafPv+73DH/xJQpAGbfDPUalZcjBDlWTy9zk1D/Yv9FeU 0EAA== X-Gm-Message-State: AEkoousqsfjjoJIxOATMwSjl75T+NQ2cNUliVxgLt60kmb1xzqa3ZJOspLs6YBksCm8sEw== X-Received: by 10.55.80.68 with SMTP id e65mr43904832qkb.156.1469735305689; Thu, 28 Jul 2016 12:48:25 -0700 (PDT) Received: from gmail.com (c-98-216-247-110.hsd1.ma.comcast.net. [98.216.247.110]) by smtp.gmail.com with ESMTPSA id c15sm8109154qkg.46.2016.07.28.12.48.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jul 2016 12:48:25 -0700 (PDT) Date: Thu, 28 Jul 2016 15:48:22 -0400 From: Randy Westlund To: Andriy Gapon Cc: Allan Jude , freebsd-current@FreeBSD.org Subject: Re: Boot environments and zfs canmount=noauto Message-ID: <20160728194822.GF26793@gmail.com> References: <20160728020548.GD26793@gmail.com> <5e49ab87-65ff-fe20-1e50-387e3484cc47@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fCcDWlUEdh43YKr8" Content-Disposition: inline In-Reply-To: <5e49ab87-65ff-fe20-1e50-387e3484cc47@FreeBSD.org> User-Agent: Mutt/1.6.1 (2016-04-27) 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 19:48:27 -0000 --fCcDWlUEdh43YKr8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 28, 2016 at 01:34:03PM +0300, Andriy Gapon wrote: > Locally I have the following rc script to handle subordinate datasets of > a boot environment: http://dpaste.com/0Q0JPGN.txt > It is designed for exactly the scenario described above. > The script is automatically enabled when zfs_enable is enabled. >=20 > It would probably make sense to include the script into the OS after > some testing and a review. Awesome, thanks. I'll play with this over the weekend. Maybe someday we'll be able to set something like canmount=3Dwith-parent, which could be like noauto, except that it would mount when its parent mounts. --fCcDWlUEdh43YKr8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXmmGGAAoJEGaweXjzNsmpUt8H/jDNczRsyKG7LLrMQAt+OBjz WHcG3mwfIH/4HAu9pYNNXVz2lvPghTZEaqpYdZevPtCTfFJ9c/Ljz6fmwkb7lb/D 3ek6CfVQCLAKLfscM6gkn/TypkwleBT2PmSQQTO4kht8UbHJLfOkvtMCa0rG+jX/ 6JYHyQPj1IJWZegvvw9Ai7Jd43fbqAnu+Tt8vysDuZ9f50AcSfhDfxa/bu6Lgxn2 lmSmSu2a26ctFAVC/z6yO7bFkHUNb1FDyiN965rZIKsSlicL8C+6arskROSnWL5S IzeNUdlhMJpyvIXowZWEG9tq/ERqXaD9yfzyS40dHp74KvEZ0uVFJ/0PNz5/EO8= =iVOh -----END PGP SIGNATURE----- --fCcDWlUEdh43YKr8--