summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2005-11-28 17:54:12 +0100
committermaximilian attems <maks@debian.org>2005-11-28 17:54:12 +0100
commit31cb69967fcd2cb034b0ef68e648e9a43fdd32a3 (patch)
tree3009762e0d6385c92a7072ee92a1823e9a967492 /init
parent57732aa03ef035c09cfcea98086fff11670e7470 (diff)
downloadinitramfs-tools-31cb69967fcd2cb034b0ef68e648e9a43fdd32a3.tar.gz
initramfs-tools-31cb69967fcd2cb034b0ef68e648e9a43fdd32a3.zip
kill udev as late as possible.
Diffstat (limited to 'init')
-rwxr-xr-xinit3
1 files changed, 1 insertions, 2 deletions
diff --git a/init b/init
index 2d9683e..f8853b1 100755
--- a/init
+++ b/init
@@ -102,8 +102,6 @@ log_begin_msg "Running /scripts/init-premount"
run_scripts /scripts/init-premount
log_end_msg
-killall udevd
-
log_begin_msg "Mounting root file system"
mountroot
log_end_msg
@@ -114,6 +112,7 @@ run_scripts /scripts/init-bottom
# Move our /dev to the real filesystem. Do the setup that udev otherwise
# would.
+killall udevd
mkdir -p /dev/.static/dev
chmod 700 /dev/.static/
mount -n -o bind ${rootmnt}/dev /dev/.static/dev