-if [ -x /bin/mdev ] && [ ! is_true "$USE_UDEVD" ]; then
- echo /bin/mdev > /proc/sys/kernel/hotplug
-elif [ -x /lib/udev/udevd ]; then
+#status_starting fsck of /
+#mount -o remount,ro /
+#fsck -A -T
+# TODO actually check the return value
+status_begin remounting root filesystem rw
+mount -o remount,rw /
+status_check
+
+status_begin running depmod
+depmod
+status_check
+
+# set up /dev
+
+if [ -x /sbin/mdev ] && ! is_true "$USE_UDEV" ; then
+ status_begin setting up mdev
+ echo > /dev/mdev.seq
+ echo /sbin/mdev > /proc/sys/kernel/hotplug
+ /sbin/mdev -s
+ status_check
+elif [ -x /sbin/udevd ]; then