From 59716c41926febd87669acc81d937aa5e7efc7ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Goran=20Meki=C4=87?= Date: Mon, 3 Apr 2017 10:31:51 +0200 Subject: [PATCH] Use noauto --- beadm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beadm b/beadm index 6a0e397..c3bdb32 100755 --- a/beadm +++ b/beadm @@ -180,9 +180,9 @@ EOF fi if __be_snapshot ${1} then - eval "zfs clone -o canmount=off ${OPTS} ${FS}@${1##*@} ${DATASET}" + eval "zfs clone -o canmount=noauto ${OPTS} ${FS}@${1##*@} ${DATASET}" else - eval "zfs clone -o canmount=off ${OPTS} ${FS}@${FMT} ${DATASET}" + eval "zfs clone -o canmount=noauto ${OPTS} ${FS}@${FMT} ${DATASET}" fi done # check if we need to update grub