mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-05 04:47:56 +00:00
add .loop extension to /dev/mapper volume to identify its nature
This commit is contained in:
parent
9be5dff823
commit
72da5b481e
2
tomb
2
tomb
@ -655,7 +655,7 @@ render_mapper() {
|
||||
[[ "$TOMBNAME" == "" ]] &&
|
||||
_failure "cannot render mapper: missing \$TOMBNAME"
|
||||
local maphash=`realpath $tombpath | sha256sum -z`
|
||||
mapper="tomb.$TOMBNAME.${maphash[(w)1]}"
|
||||
mapper="tomb.$TOMBNAME.${maphash[(w)1]}.loop"
|
||||
local mounted_tombs=(`list_tomb_mounts`)
|
||||
local usedmapper
|
||||
for t in ${mounted_tombs}; do
|
||||
|
Loading…
Reference in New Issue
Block a user