[arch-projects] [RFC 05/23] Automatically tag volumes with %random
Matthew Monaco
dgbaley27 at 0x01b.net
Fri May 18 12:21:59 EDT 2012
From: Matthew Monaco <matthew.monaco at 0x01b.net>
---
cryptmount.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/cryptmount.sh b/cryptmount.sh
index 03b8575..41b713c 100755
--- a/cryptmount.sh
+++ b/cryptmount.sh
@@ -203,6 +203,9 @@ ct_read_crypttab() {
-|none|"")
key=-
;;
+ /dev/random|/dev/urandom)
+ options="$options,%random"
+ ;;
/*|UUID=*|PARTUUID=*|LABEL=*)
:
;;
--
1.7.10.2
More information about the arch-projects
mailing list