From: Jim Carter <jimc@ma...> - 2005-04-13 19:08:43
On Wed, 13 Apr 2005, Fabio Ricci wrote:
> Which is the best for handling /dev fs?
> i have tried to use udev with hotplug but it seems that the boot phase is too
> much long,
> instead with devfs i cant see some link on /dev.
In kernel 2.6.x, devfs is no longer Politically Correct, but as you say,
udev and UML have a bad interaction so that on my machine it takes fully
five minutes to boot the guest. The problem is that setup scripts are
being run in /etc/udev.d that are not relevant to the UML devices and that
have timeouts. If you can export UDEV_NO_SLEEP=1 and UDEV_NO_DEVD=1 for
most devices when running /sbin/udev, that will speed it up dramatically.
and search for "/sbin/udev" for a script that does this.
James F. Carter Voice 310 825 2897 FAX 310 206 6673
UCLA-Mathnet; 6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555
Email: jimc@... http://www.math.ucla.edu/~jimc (q.v. for PGP key)
Get latest updates about Open Source Projects, Conferences and News.