From 8641d33d02695d082569e7054829fb233a07c44b Mon Sep 17 00:00:00 2001 From: Avril Date: Sun, 9 Aug 2020 20:41:19 +0100 Subject: [PATCH] now makes image in /tmp --- mount-temp-volume | 2 +- umount-temp-volume | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mount-temp-volume b/mount-temp-volume index 777cb7b..75e7056 100755 --- a/mount-temp-volume +++ b/mount-temp-volume @@ -2,7 +2,7 @@ sudo echo ">>> Initialising" -METADIR=~/.etemp +METADIR=/tmp/.$(USER)-etemp MOUNTPOINT=~/etemp VOLNAME=etemp diff --git a/umount-temp-volume b/umount-temp-volume index 00ddc53..dce7b95 100755 --- a/umount-temp-volume +++ b/umount-temp-volume @@ -4,7 +4,7 @@ echo ">>> Initialising" MOUNTPOINT=etemp VOLNAME=etemp -METADIR=.etemp +METADIR=/tmp/.$(USER)-etemp if [[ `id -u` != 0 ]]; then echo "WARNING: Not root. Running with sudo"