summaryrefslogtreecommitdiffstats
path: root/abs/core/filesystem/crypttab
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/filesystem/crypttab
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/filesystem/crypttab')
-rw-r--r--abs/core/filesystem/crypttab33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core/filesystem/crypttab b/abs/core/filesystem/crypttab
new file mode 100644
index 0000000..dd6994b
--- /dev/null
+++ b/abs/core/filesystem/crypttab
@@ -0,0 +1,33 @@
+# crypttab: Mappings for encrypted partitions
+#
+# Each mapped device will be created in /dev/mapper, so your /etc/fstab
+# should use the /dev/mapper/{NAME} paths for encrypted devices.
+#
+# Each PASSWORD field can be an absolute pathname to a key file (starting
+# with a slash, recommended) or a literal string that will be used as
+# a passphrase. To use special characters in the passphrase, surround it
+# by quotes, the usual bash quoting rules apply.
+# There are two special keywords that cannot be used as passphrases:
+# - ASK ask for a passphrase on boot
+# - SWAP use a random key and create a swapspace afterwards
+# WARNING: use the SWAP keyword carefully, as it overwrites the data
+# on the specified partition
+#
+# To create a key file:
+# hashalot -n 32 ripemd160 >/etc/crytfs.key
+# or
+# dd if=/dev/urandom of=/etc/cryptfs.key bs=256 count=1
+#
+# To pass additional options to cryptsetup for non-LUKS partitions, use the
+# fourth column.
+#
+# NOTE: Do not list your root (/) partition here, it must be set up
+# beforehand by the initramfs (/etc/mkinitcpio.conf).
+
+
+# NAME SOURCE DEVICE PASSWORD OPTIONS
+#home /dev/hda4 mypassword
+#data1 /dev/hda3 "my \"password\""
+#data2 /dev/hda5 /etc/cryptfs.key
+#swap /dev/hdx4 SWAP -c aes-cbc-essiv:sha256 -s 256
+#vol /dev/hdb7 ASK