From owner-freebsd-questions@FreeBSD.ORG Thu Feb 19 15:40:34 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 55188B9 for ; Thu, 19 Feb 2015 15:40:34 +0000 (UTC) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) (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 D0812751 for ; Thu, 19 Feb 2015 15:40:33 +0000 (UTC) Received: by wesw55 with SMTP id w55so510734wes.4 for ; Thu, 19 Feb 2015 07:40:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4BEEpr8Zin7KseRVGmzKUMN66WIfgL84WfJ9a0VIErM=; b=JcvoQa+a2j8RVX2jqBOpSmBXb91JjiLk4w+yDAaFMWD0NZO0phkcleP4j0F3APRxYD QMnzv50didBU5AU50tSHWhGuk7xn3s+lr1008IJ7I0n1SJSt6XslOxjW4QHuZkey3JSj Y+9Dp8eFgMIbPWrQdrBidaaYH1HDFVCktMw7y/ukI0uN+oSkcP7JcnF7sqV0u1hNcmFZ JVQ1TCie6hhTdmLhiX0zpXY/51ggm6vmyLcW01brEjGlF1ctceoOYC8zLrZTo/VzzUPS 0UHztsER6LlEa0QkPhiTivM2Wf1Qs7ax52i6sBXDKU4mCw82WooyOf/UIW9fR2bnScvn 9LGQ== MIME-Version: 1.0 X-Received: by 10.180.108.13 with SMTP id hg13mr11208098wib.7.1424360430807; Thu, 19 Feb 2015 07:40:30 -0800 (PST) Received: by 10.194.241.132 with HTTP; Thu, 19 Feb 2015 07:40:30 -0800 (PST) In-Reply-To: References: <54E01849.3020500@complete.org> Date: Thu, 19 Feb 2015 23:40:30 +0800 Message-ID: Subject: Re: 10.1 ZFS - why canmount=off for /usr and /var by default? From: Ben Woods To: krad Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: John Goerzen , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2015 15:40:34 -0000 /zroot/var exists but is not mounted to allow sub-datasets such as /zroot/var/log to be created. It also allows for using inheretence for all sub-datasets under zroot/var for common ZFS proprieties (eg. Compression settings). On Thursday, February 19, 2015, krad wrote: > It is a bit confusing, I have to ask why call it zroot/usr at all? I use > /os/ for stuff like ports etc and then set the mountpoint. If we must > use usr in the name why not set the mountpoint to legacy as well, as its > more clearly not used? > > On 15 February 2015 at 13:52, John Goerzen > wrote: > > > Ben Woods gmail.com> writes: > > > > > > > > To quote Allan Jude when I posed this question to him: > > > > > > "The /usr dataset has 'canmount' set to off. It only exists so that > other > > > datasets can be created under it. > > > > That makes sense. But it is misleading to have the mountpoint set to > /usr > > and /var, isn't it? In a zfs list, it looks as if it's being used for > /usr > > and /var, when really as you say it's a container. > > > > I wonder - would there be a place I could submit a bug report to suggest > > that the mountpoint property be inherited at the default rather than set > > for > > these two filesystems? > > > > > To use boot environments, you need to install the tool from the ports > > tree: > > > sysutils/beadm-devel > > > > Interesting. That looks quite nice. I need to read up a bit more on it, > > clearly, since it seems to be more than just a zfs clone and zpool set > > bootfs that I was expecting. > > > > Thanks, > > > > John > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org " > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org " > -- -- From: Benjamin Woods woodsb02@gmail.com