From 587d121ff6a3dd8f7a5fa17802c1be25e2342d53 Mon Sep 17 00:00:00 2001 From: Jaromil Date: Tue, 11 Jan 2011 19:28:17 +0100 Subject: [PATCH] cleanup of old shell code --- src/tomb | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/tomb b/src/tomb index 0d83219..edaeb9d 100755 --- a/src/tomb +++ b/src/tomb @@ -292,21 +292,6 @@ create_tomb() { notice "done creating $FILE encrypted storage (using Luks dm-crypt AES/SHA256)" } -# mount_crypto() { -# if ! [ -r $FILE ]; then -# error "file or partition $FILE does not exists" -# exit 0 -# fi -# # check if its a file or partition -# file ${FILE} | grep block > /dev/null -# if [ $? = 0 ]; then -# act "$FILE is a partition" -# mount_crypto_partition -# else -# act "$FILE is a loopback file" -# mount_crypto_file -# fi -# } mount_tomb() { @@ -392,9 +377,6 @@ mount_tomb() { fsck.ext4 -p -C0 /dev/mapper/${mapper} mount -t ext4 -o rw,noatime,nodev /dev/mapper/${mapper} ${MOUNT} -# TODO: possible mount options to try out: -# -o rw,noatime,nodev,data=writeback,commit=30 -# -o rw,noatime,nodev notice "encrypted storage $FILE succesfully mounted on $MOUNT"