Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2019 17:50:56 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r347028 - head/lib/libbe
Message-ID:  <201905021750.x42HoutN011838@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



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