svn commit: r347028 - head/lib/libbe
Kyle Evans
kevans at FreeBSD.org
Thu May 2 17:50:57 UTC 2019
Author: kevans
Date: Thu May 2 17:50:56 2019
New Revision: 347028
URL: https://svnweb.freebsd.org/changeset/base/347028
Log:
libbe: set mountpoint=none in be_import
If we're going to set a mountpoint at all, mountpoint=none makes more sense
than mountpoint=/.
MFC after: 3 days
Modified:
head/lib/libbe/be.c
Modified: head/lib/libbe/be.c
==============================================================================
--- head/lib/libbe/be.c Thu May 2 17:44:46 2019 (r347027)
+++ head/lib/libbe/be.c Thu May 2 17:50:56 2019 (r347028)
@@ -822,7 +822,7 @@ be_import(libbe_handle_t *lbh, const char *bootenv, in
nvlist_alloc(&props, NV_UNIQUE_NAME, KM_SLEEP);
nvlist_add_string(props, "canmount", "noauto");
- nvlist_add_string(props, "mountpoint", "/");
+ nvlist_add_string(props, "mountpoint", "none");
err = zfs_prop_set_list(zfs, props);
nvlist_free(props);
More information about the svn-src-all
mailing list