Author: glen
Date: Thu Nov 13 00:27:16 2008
New Revision: 9985

Modified:
   rc-scripts/trunk/rc.d/init.d/cryptsetup
Log:
- dmsetup mknodes so the startup doesn't complain on missing nodes

Modified: rc-scripts/trunk/rc.d/init.d/cryptsetup
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/cryptsetup     (original)
+++ rc-scripts/trunk/rc.d/init.d/cryptsetup     Thu Nov 13 00:27:16 2008
@@ -12,6 +12,11 @@
        local have_random dst src key opt mode owner params makeswap skip arg
        local param value rc ret mke2fs mdir cnt=0
 
+       # call mknodes as the dm node could be missing if device was opened from
+       # initrd.
+       # XXX: shouldn't udev handle the nodes creation here?
+       /sbin/dmsetup mknodes
+
        ret=0
        have_random=$1
        while read dst src key opt; do
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to