--- trunk/mkinitrd-magellan/mkinitrd.in 2011/09/07 17:48:06 1516 +++ trunk/mkinitrd-magellan/mkinitrd.in 2011/09/07 17:50:08 1517 @@ -861,6 +861,9 @@ add_initrd 'echo "${device} /sysroot ${rootfs} defaults,ro 0 0" > /etc/fstab' add_initrd 'mount /sysroot || ash' +# use devtmpfs if supported +add_initrd "if [ \"\$(grep devtmpfs /proc/filesystems | cut -d$'\t' -f2)\" = \"devtmpfs\" ]; then mount -t devtmpfs dev /sysroot/dev;fi" + # unset hotplug event-manager add_initrd 'echo > /proc/sys/kernel/hotplug'