fix remove beName@snapshot, fix create beName@snapshot, fix create -e beName@snapshot beName, implement rename origBeName newBeName

This commit is contained in:
Slawomir Wojciech Wojtczak (vermaden) 2012-05-09 22:45:36 +02:00
parent e4513d149e
commit 97f356d1b4
1 changed files with 1 additions and 1 deletions

2
beadm
View File

@ -101,7 +101,7 @@ EOF
then
local OPTS=""
fi
zfs clone -o canmount=off ${OPTS} ${FS}@${SNAPSHOT} ${DATASET}
zfs clone -o canmount=off ${OPTS} ${FS}@${2##*/} ${DATASET}
done
echo "Created successfully"
}