mirror of
https://github.com/dyne/Tomb
synced 2024-10-18 07:32:18 +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 a new issue