projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11a2ab6
)
base/init: only mknod /dev/null, if it does not exist yet
author
Harald Hoyer
<harald@redhat.com>
Wed, 3 Nov 2010 17:45:14 +0000
(13:45 -0400)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 3 Nov 2010 17:45:14 +0000
(13:45 -0400)
modules.d/99base/init
patch
|
blob
|
history
diff --git
a/modules.d/99base/init
b/modules.d/99base/init
index
574d515
..
9ee5e16
100755
(executable)
--- a/
modules.d/99base/init
+++ b/
modules.d/99base/init
@@
-72,7
+72,7
@@
umask 0007
RDDEBUG=""
. /lib/dracut-lib.sh
-mknod -m 0666 /dev/null c 1 3
+
[ -c /dev/null ] ||
mknod -m 0666 /dev/null c 1 3
# mount some important things
mount -t proc /proc /proc >/dev/null 2>&1