dracut: create /dev besides /proc, /sys and so
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Sun, 4 Sep 2011 14:38:35 +0000 (16:38 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 22 Sep 2011 13:53:50 +0000 (15:53 +0200)
How it worked without it?  The issue only manifests itself with
initramfs integrated into kernel.

dracut

diff --git a/dracut b/dracut
index 0e930c7..c9329bd 100755 (executable)
--- a/dracut
+++ b/dracut
@@ -510,7 +510,7 @@ if [[ $kernel_only != yes ]]; then
         fi
     done
 
-    for d in proc sys sysroot root run run/lock run/initramfs; do
+    for d in dev proc sys sysroot root run run/lock run/initramfs; do
         if [ -h "/$d" ]; then
             inst "/$d"
         else