svn commit: r295357 - head/sys/boot/zfs

Allan Jude allanjude at freebsd.org
Sun Feb 7 01:04:42 UTC 2016


On 2016-02-06 19:55, Warner Losh wrote:
> 
> 
> On Sat, Feb 6, 2016 at 5:49 PM, Allan Jude <allanjude at freebsd.org
> <mailto:allanjude at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20160206/a74b98ca/attachment.sig>


More information about the svn-src-all mailing list