I am using ZFSBootMenu for multi-zroot.
zpRoot/LINUX/Artix/System mountpoint /
zpRoot/LINUX/eos/SysClone1 mountpoint /
zpRoot/LINUX/eos/System mountpoint /
While boot into zpRoot/LINUX/eos/SysClone1
, I want to read files from other dataset like zpRoot/LINUX/eos/System
. The common way is to modify mountpoint and then mount, but I usually forget to restore mountpoint to /
.
I tried zfs mount -o mountpoint=/mnt/1 zpRoot/LINUX/eos/System
and zfs mount -o altroot=/mnt/1 zpRoot/LINUX/eos/System
, but neither works.
How can I change mountpoint in memory without commit it to the disk ?