]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
recreate /dev/null after /dev mounting
authorHarald Hoyer <harald@redhat.com>
Wed, 20 May 2009 09:59:34 +0000 (11:59 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 20 May 2009 09:59:34 +0000 (11:59 +0200)
modules.d/99base/init

index ce26de6074398a346bf06dd444348f33627b7c3a..d4fc2a462ed5a125442420c9956ee479e4ad947d 100755 (executable)
@@ -44,6 +44,7 @@ mount -t tmpfs -omode=0755 udev /dev >/dev/null 2>&1
 read CMDLINE </proc/cmdline;
 getarg ramfsdebug && set -x
 # Make some basic devices first, let udev handle the rest
+mknod /dev/null c 1 3
 mknod /dev/ptmx c 5 2
 mknod /dev/console c 5 1
 mkdir /dev/pts