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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to