On 2016-02-06 19:55, Warner Losh wrote: > > > On Sat, Feb 6, 2016 at 5:49 PM, Allan Jude <allanj...@freebsd.org > <mailto:allanj...@freebsd.org>> wrote: > > Author: allanjude > Date: Sun Feb 7 00:49:15 2016 > New Revision: 295357 > URL: https://svnweb.freebsd.org/changeset/base/295357 > > Log: > Do not set vfs.root.mountfrom unnecessarily > > This causes boot from external media (installer USB image) to > mount / from > the default ZFS BE, rather than the USB device. > > > Sure this didn't just break zfs booting? > > Warner >
I tested in in a VM and on two laptops. The var was only being set if it was not already set by loader.conf, and only to provide a 'default' for the 'Active' item in the ZFS BE Menu. The system will derive the default root mountpoint from the loader 'currdev' (with ZFS, this is set by the bootfs pool property) variable if it is not overridden by vfs.root.mountfrom -- Allan Jude
signature.asc
Description: OpenPGP digital signature