summaryrefslogtreecommitdiffstats
path: root/abs/core/filesystem/crypttab
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-07 15:06:59 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-07 15:06:59 (GMT)
commitb05c6f777dde33dc0dde24ac461b5e4b8ed4f466 (patch)
tree27c3c2eade503db3b4d429e19694da7df141a88a /abs/core/filesystem/crypttab
parenta091721d6178ffaa83ee445a5908419a39fdaba0 (diff)
downloadlinhes_pkgbuild-b05c6f777dde33dc0dde24ac461b5e4b8ed4f466.zip
linhes_pkgbuild-b05c6f777dde33dc0dde24ac461b5e4b8ed4f466.tar.gz
linhes_pkgbuild-b05c6f777dde33dc0dde24ac461b5e4b8ed4f466.tar.bz2
filesystem: 2012.10
Diffstat (limited to 'abs/core/filesystem/crypttab')
-rw-r--r--abs/core/filesystem/crypttab36
1 files changed, 10 insertions, 26 deletions
diff --git a/abs/core/filesystem/crypttab b/abs/core/filesystem/crypttab
index dd6994b..195945a 100644
--- a/abs/core/filesystem/crypttab
+++ b/abs/core/filesystem/crypttab
@@ -1,33 +1,17 @@
-# crypttab: Mappings for encrypted partitions
+# 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.
+# 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.
+# The Arch specific syntax has been deprecated, see crypttab(5) for the
+# new supported syntax.
#
# 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
+# <name> <device> <password> <options>
+# home /dev/hda4 /etc/mypassword1
+# data1 /dev/hda3 /etc/mypassword2
+# data2 /dev/hda5 /etc/cryptfs.key
+# swap /dev/hdx4 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256
+# vol /dev/hdb7 none