Hi Marco, > > When running udev on rootfs (i.e. from initramfs) it fails to start > > because all --bind and --move mounts from /etc/init.d/udev will fail > > (the kernel gives -EINVAL). Therefore the script stops (set -x) before > > udev is started resulting in more severe problems. This problem can > > easily be worked around by setting no_static_dev. I suggest detecting > > this automatically. Otherwise please forward this bug to the kernel.
> I do not understand your problem. udev has been started in the initramfs > for years. udev is run in two phases. One phase within initramfs and one after mounting the real root device. Now consider a system that runs both phases within rootfs and never mounting a "real" root device. Then the init script will fail because it is still running on rootfs and thus failing to mount --bind or --move. To generate a suitable initramfs for testing just cdebootstrap to a directory, hardlink sbin/init to init, install udev, copy kernel modules and find . | cpio -o -H newc | gzip -9 > ../initramfs.cpio.gz. This initramfs should then fail to start udev. Helmut -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]