]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- dmsetup mknodes so the startup doesn't complain on missing nodes
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 12 Nov 2008 23:27:16 +0000 (23:27 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 12 Nov 2008 23:27:16 +0000 (23:27 +0000)
svn-id: @9985

rc.d/init.d/cryptsetup

index 32ce57ba597d137326c66fcbff31d961f2e09188..4a61c29cacca00de3b2f22b39927d82894fbb70b 100755 (executable)
@@ -12,6 +12,11 @@ init_crypto() {
        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
This page took 0.258221 seconds and 4 git commands to generate.