10.1 ZFS - why canmount=off for /usr and /var by default?

krad kraduk at gmail.com
Thu Feb 19 12:06:43 UTC 2015


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 at complete.org> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list