Abstract
This script is used to make mounting and unmounting serpent encrypted loop devices easy and convenient.
Table of Contents
This script is used to make mounting and unmounting serpent encrypted loop devices easy and convenient.
The script deals with a few annoying Linux quirks, and does some necessary fixups when you make mistakes typing your password). By default, it is assuming that the image file lies in the same directory as the mount point, with a filename that ends with .fs or .img, e.g.:
/data/secret/allmail.fs
(Otherwise you can specific the image file in an option, or if there is a single file within the directory, that gets used as well.)
To mount the drive:
encmount /data/secret
To unmount the drive:
encmount -u /data/secret
To display a list of all the encrypted mounts on the system:
encmount
Note: if you invoke encmount from a symbolic link called encumount or uencmount, it will assume encmount -u.
Mount/unmount an encrypted image file.
Important
This computer program or library is provided for free. I am aware that some of the programs that I provide for free allow people to get their work done faster or better, save them time and money. If you are using this program for benefit, especially if you are using it within a commercial environment and it saves you time or work, please consider making a donation by sending me a book from my Amazon Wishlist or by a direct donation to my company's PayPal account by clicking on the link below.