5 prereqs() { echo "$PREREQS"; }
14 # Stop udevd, we'll miss a few events while we run init, but we catch up
15 for proc in /proc/[0-9]*; do
16 [ -x $proc/exe ] || continue
17 if [ "$(readlink $proc/exe)" = /sbin/udevd ]; then
18 # errors must be ignored due to a race with udevd child processes
19 # naturally terminating
20 kill ${proc#/proc/} 2> /dev/null || true
24 # move the /dev tmpfs to the rootfs
25 mount -n -o move /dev $rootmnt/dev
27 # create a temporary symlink to the final /dev for other initramfs scripts
29 ln -s $rootmnt/dev /dev