summaryrefslogtreecommitdiff
path: root/lib/libbe
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-05-02 17:50:56 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-05-02 17:50:56 +0000
commitac34fe239d6efe0bdaf476ee8ea772ba406a9074 (patch)
tree365ad9497bf1b50f68b27ab0032a7e54db8ab532 /lib/libbe
parent011fdcbf1cbc158bc84ff887263f9e7ee0f85a7d (diff)
downloadsrc-test-ac34fe239d6efe0bdaf476ee8ea772ba406a9074.tar.gz
src-test-ac34fe239d6efe0bdaf476ee8ea772ba406a9074.zip
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
Notes
Notes: svn path=/head/; revision=347028
Diffstat (limited to 'lib/libbe')
-rw-r--r--lib/libbe/be.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libbe/be.c b/lib/libbe/be.c
index e8348a21decf5..849a25859fa51 100644
--- a/lib/libbe/be.c
+++ b/lib/libbe/be.c
@@ -822,7 +822,7 @@ be_import(libbe_handle_t *lbh, const char *bootenv, int fd)
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);