mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
011fdcbf1c
commit
ac34fe239d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue