[arch-projects] [RFC 16/23] Support Arch Linux idioms for the key field (ASK, SWAP)
Matthew Monaco
dgbaley27 at 0x01b.net
Fri May 18 12:22:10 EDT 2012
From: Matthew Monaco <matthew.monaco at 0x01b.net>
---
cryptmount.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/cryptmount.sh b/cryptmount.sh
index 59c6c78..3844e01 100755
--- a/cryptmount.sh
+++ b/cryptmount.sh
@@ -302,6 +302,15 @@ ct_read_crypttab() {
/dev/random|/dev/urandom)
options="$options,%random"
;;
+ ASK)
+ info "$CRYPTTAB:$lineno: ASK is a deprecated key, please use '-' or 'none'"
+ key=-
+ ;;
+ SWAP)
+ info "$CRYPTTAB:$lineno: SWAP is a deprecated key, please use '/dev/urandom' and the 'swap' option"
+ key="/dev/urandom"
+ options="$options,swap,%random"
+ ;;
/*|UUID=*|PARTUUID=*|LABEL=*)
:
;;
--
1.7.10.2
More information about the arch-projects
mailing list