Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2015 23:40:30 +0800
From:      Ben Woods <woodsb02@gmail.com>
To:        krad <kraduk@gmail.com>
Cc:        John Goerzen <jgoerzen@complete.org>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: 10.1 ZFS - why canmount=off for /usr and /var by default?
Message-ID:  <CAOc73CApYt7C00akRH1jz0KREK-gm68Mu1QUa671coB=bY28BQ@mail.gmail.com>
In-Reply-To: <CALfReyc20zYra-H5iEXErwPOQz9RpC6reZgZLsKbUOGNpEoONA@mail.gmail.com>
References:  <54E01849.3020500@complete.org> <CAOc73CANPtOeTdyCbuyyVVJDbMMDqpYwTcXPk%2BqKy5vzL_br9Q@mail.gmail.com> <loom.20150215T144933-673@post.gmane.org> <CALfReyc20zYra-H5iEXErwPOQz9RpC6reZgZLsKbUOGNpEoONA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
/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 <kraduk@gmail.com> wrote:

> It is a bit confusing, I have to ask why call it zroot/usr at all? I use
> <pool>/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 <jgoerzen@complete.org
> <javascript:;>> wrote:
>
> > Ben Woods <woodsb02 <at> 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 <javascript:;> mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscribe@freebsd.org <javascript:;>"
> >
> _______________________________________________
> freebsd-questions@freebsd.org <javascript:;> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org <javascript:;>"
>


-- 

--
From: Benjamin Woods
woodsb02@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOc73CApYt7C00akRH1jz0KREK-gm68Mu1QUa671coB=bY28BQ>