diff options
author | maximilian attems <maks@debian.org> | 2005-10-21 18:33:03 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2005-10-21 18:33:03 +0200 |
commit | b96ed45312562bbfc976ce0c6cf32b7e704f1e2f (patch) | |
tree | bce6a45954775445d8231d9341883c9b888f3506 /init | |
parent | a5ceeefab355e57948134a8857f0b15fa56a8c6e (diff) | |
download | initramfs-tools-b96ed45312562bbfc976ce0c6cf32b7e704f1e2f.tar.gz initramfs-tools-b96ed45312562bbfc976ce0c6cf32b7e704f1e2f.zip |
waldi udev fixes
Diffstat (limited to 'init')
-rwxr-xr-x | init | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -67,15 +67,21 @@ run_scripts /scripts/init-top . /scripts/${BOOT} +depmod -a + +# Populate /dev tree +log_begin_msg "Initializing /dev" +mkdir /dev/.udevdb +UDEVD_EXPECTED_SEQNUM=$(($(cat /sys/kernel/hotplug_seqnum) + 1)) udevd --daemon +udevsynthesize +sleep 2 +log_end_msg + log_begin_msg "Loading modules" load_modules log_end_msg -# Populate /dev tree -log_begin_msg "Initializing /dev" parse_numeric ${ROOT} -udevstart -log_end_msg if [ x${break} = xyes ]; then panic "Spawning shell within the initramfs" @@ -85,6 +91,8 @@ 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 |