aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/etc/crypttab/removable5
-rw-r--r--files/etc/fstab/removable4
2 files changed, 9 insertions, 0 deletions
diff --git a/files/etc/crypttab/removable b/files/etc/crypttab/removable
new file mode 100644
index 0000000..aff01c6
--- /dev/null
+++ b/files/etc/crypttab/removable
@@ -0,0 +1,5 @@
+# <target name> <source device> <key file> <options>
+root /dev/mapper/vg-root none luks,cipher=aes-cbc-essiv:sha256
+#home /dev/mapper/vg-home none luks,cipher=aes-cbc-essiv:sha256
+#var /dev/mapper/vg-var none luks,cipher=aes-cbc-essiv:sha256
+#cswap /dev/sda1 /dev/random swap,cipher=aes-cbc-essiv:sha256
diff --git a/files/etc/fstab/removable b/files/etc/fstab/removable
new file mode 100644
index 0000000..831369e
--- /dev/null
+++ b/files/etc/fstab/removable
@@ -0,0 +1,4 @@
+/dev/mapper/root / ext3 noatime,defaults,errors=remount-ro 0 1
+#/dev/mapper/home /home ext3 noatime,defaults,errors=remount-ro 0 2
+#/dev/mapper/var /var ext3 noatime,defaults,errors=remount-ro 0 2
+#/dev/mapper/cswap none swap sw 0 0