Skip to contentSkip to conversation

dracut: create /dev besides /proc, /sys and so

PATCH Applied Amadeusz Żołnowski 2 participants 2 messages Sep 4, 2011 – Sep 22, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dracut: create /dev besides /proc, /sys and so

How it worked without it? The issue only manifests itself with initramfs integrated into kernel.

---
 dracut |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
dracut +1 -1
index fd36805..b317d70 100755
@@ -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
Signature · 1 line
1.7.6.1
Applied
#2 lore raw
In reply to a message not in the archive
Quoted 11 lines · Amadeusz Żołnowski

How it worked without it? The issue only manifests itself with initramfs integrated into kernel.

---
 dracut |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
dracut +0 -0
index fd36805..b317d70 100755

dracut if [[ $kernel_only != yes ]]; then · line 516

Quoted 8 lines
dracut +1 -1
@@ -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

pushed to temporary http://git.surfsite.org/dracut.git

Thanks!