Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2012 20:25:50 +0100
From:      vermaden <vermaden@interia.pl>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org, Bryan Drewery <bryan@shatow.net>
Subject:   Re: Why do we need vfs.root.mountfrom for zfs
Message-ID:  <bpjobxnjvwtfgvrvfhkf@wuto>
In-Reply-To: <50AA2AE5.5080002@FreeBSD.org>
References:  <848051353247434@web29h.yandex.ru> <50A934D2.9010205@FreeBSD.org> <1026501353267511@web27h.yandex.ru> <50A93A6E.1090907@FreeBSD.org> <50A96AE2.60803@shatow.net> <50AA2AE5.5080002@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Andriy Gapon" <avg@FreeBSD.org> pisze:
> on 19/11/2012 01:10 Bryan Drewery said the following:
> > On 11/18/2012 1:43 PM, Andriy Gapon wrote:
> >> Well, it used to be true that either an fstab "/" entry or vfs.root.mountfrom
> >> had to be configured.  But now that's optional.
> >>
> > 
> > Can you define "now"? 7.4-RELEASE, 8.3-RELEASE, 9.0-RELEASE, or just
> > STABLE/CURRENT?
> > 
> > Asking so this may possibly come out of sysutils/beadm
> 
> Since r235330 (May of this year) and its MFC-es.  Not sure if there was any
> release since then, most likely not.
> Also, I don't recall if I MFC-ed this change to stable/7.
> 
> -- 
> Andriy Gapon

Hi,

the beadm already checks if its being run on FreeBSD 8.0 or later, but
that can be inappropriate if the needed bits would be MFC to stable/7
and then put into the 7.5-RELEASE (is there any chance? for that).

So please decide if You want beadm to support the stable/7 branch.

Yesterday I got that piece of information ,that vfs.root.mountfrom is
not needed now. Can I assume that using vfs.root.mountfrom is
harmless then? 

I ask because if we remove that from beadm, then anything from
2012.06 and later will just work and everything before won't. As beadm
already checks if its being used on FreeBSD 8.0 or later, removing the
setting of vfs.root.mountfrom from beadm would probably make it
9.1+ exclusive only (along with 9.0-STABLE from 2012.06 or later of
course).

The needed bits will probably find its way into the stable/8, but as
8.3-RELEASE was released 2012.04, then the 8.4-RELEASE with needed
bits would be probably available in late 2013, it would not be nice
for 8.x users to force them to upgrade to 9.x series when its still
possible to use beadm on 8.x (even in its limited form - without
the boot menu BE selection).

Another solution may be checking the commit version (r243107)
for needed features and then set (or not) the vfs.root.mountfrom
option.

I would like to hear your comments on these thoughts/solutions.

Regards,
vermaden

--
Religions, worst damnation of mankind.



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