Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README | 2011-11-24 | 2.0 kB | |
mount_lvm-addons-1.0.tar.bz2 | 2011-11-24 | 14.0 kB | |
Totals: 2 Items | 16.0 kB | 0 |
MOUNT_LVM-ADDONS 1.0 ------------------------------------------------------ MOUNT_LVM-ADDONS v. 1.0 is a collection of user scripts (in bash) designed to mount external or encrypted LVM2 volumes. 1) mount.encrypted.lvm.sh will mount an encrypted (with luks) LVM2 volume $volume (belonging to an option $group (if it was not provided at the CLI, it will be taken from the script)) at $mount_point, which can be either provided in the script itself, or automatically created at /media/$group_$volume_name. You'll have provide the password. 2) mount.external.lvm.sh will mount an LVM2 volume located at an external hard drive, which does not need to be permanently connected. You'll have provide a $volume_name (/dev/mapper/$group-$volume_name) and optionally a group and a mount_point. The mount_point will be automatically created at /media/$group_$volume_name or can be provided in the script. The external drive needs to be powered on. INSTALLING: =========== Both scriptsets will run require cryptsetup-luks and lvm2 to be present. Installing is done by simply copying the files to /usr/bin and the man-pages to /usr/man/man1. EXIT STATUS: ============ 0: succesful run 1: general error 2: run this script as root 3: could not create mount_point 4: could not set the lvm_group to active 5: could not unlock volume 6: could not mount volume LICENSE: ======== Copyright (c) 2011 Pieter De Praetere (depraetere.pieter@gmail.com) This program is free software: you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.