tcleanup of old shell code - tomb - the crypto undertaker HTML git clone git://parazyd.org/tomb.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 587d121ff6a3dd8f7a5fa17802c1be25e2342d53 DIR parent 482c4086093d326752a5d5edabbe563db9842286 HTML Author: Jaromil <jaromil@dyne.org> Date: Tue, 11 Jan 2011 19:28:17 +0100 cleanup of old shell code Diffstat: M src/tomb | 18 ------------------ 1 file changed, 0 insertions(+), 18 deletions(-) --- DIR diff --git a/src/tomb b/src/tomb t@@ -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() { t@@ -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"