Herbert Xu <[EMAIL PROTECTED]> - Wed, Jun 09, 2004:

> Excellent.  Thanks for your work on this.

 Patch still applies on current mkinitrd, and I'd appreciate if it could
 be integrated, thanks for your work.

 I've attached a small fix for the patch which miss a * in a regexp.

   Regards,

-- 
Lo�c Minier <[EMAIL PROTECTED]>
--- mkinitrd.patch.orig 2004-08-11 16:35:16.000000000 +0200
+++ mkinitrd.patch      2004-08-11 16:35:53.000000000 +0200
@@ -16,7 +16,7 @@
 +      echo dm-crypt
 +      echo $cipher_mode | cut -d- -f1
 +
-+      devname=$(grep -m 1 "^$dmname[[:space:]]" /etc/crypttab | sed 
's/^[^[:space:]]*[[:space:]]\([^[:space:]]*\).*/\1/')
++      devname=$(grep -m 1 "^$dmname[[:space:]]" /etc/crypttab | sed 
's/^[^[:space:]]*[[:space:]]*\([^[:space:]]*\).*/\1/')
 +      if [ ! -b ${devname:-/dev/null} ]; then
 +              echo \'$dmname\' does not have a valid block device in 
/etc/crypttab >&2
 +              exit 1

Reply via email to