From ac34fe239d6efe0bdaf476ee8ea772ba406a9074 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Thu, 2 May 2019 17:50:56 +0000 Subject: [PATCH] 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 --- lib/libbe/be.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libbe/be.c b/lib/libbe/be.c index e8348a21dec..849a25859fa 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);