available here : ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-010.tar.gz The major changes since the 009 release are: - a number of bugs that were in the 009 release are now fixed. The extras/ subdir should now build properly (but I take no responsibility if it doesn't...) - we now don't blow away old config files if you install this version on top of an older version. Sorry about that... - udev now supports looking at multiple sysfs files at once for a single rule. This enables you to write such rules as: LABEL, BUS="usb", SYSFS_vendor="FUJIFILM", SYSFS_model="M100", NAME="camera%n" which helps in trying to identify a device in a unique way. Right now udev supports up to 5 different sysfs files. If you want to have more, the code can be changed, just let me know. - new format modifier "%k" has been added to allow rules to use the kernel name of the device. - an example shell script that handles an IDE devfs mapping has been added to the tarball. Thanks to Kay Sievers for this. Reproducible: Always Steps to Reproduce: 1. 2. 3.
*** Bug 36083 has been marked as a duplicate of this bug. ***
Created attachment 22607 [details] ebuild for udev 010 only changes i've made from the 090 ebuild are commenting out the epatch. seems to work fine for me.
I already had an ebuild (and still working on it) when Greg posted to LKML. There are however a few issues that needs resolving (like the 1sec slowdown thing which I really need fixed before I can get this with new baselayout revision to handle some changes to udev out). Ill wait a few days for Greg to see if they can fix libsysfs to not need the 1sec delay for each call...
seems some people can't sleem. Greg K-H released 0.11 : The major changes since the 010 release are: - The _long_ time delay on startup if you used the udev init script is now gone. We now fork a new process of udev for every device in the sysfs tree, causing any slow udev proceses (due to the type of device) to be not noticeable by the user. - The RPM package is built against klibc. If you have any problems with this image, please let me know. - The big "always wait 1 second" problem with the 010 release is now pretty much fixed. I still need some libsysfs changes to work around some of the delays I had to hard code in, but for any device that is not a partition, and has a "device" symlink, udev will not sleep at all. If a device does not have a "device" symlink, we will wait around for a few seconds to see if one is going to be created or not, and then move on. It's the only sane way of handling the issue of not knowing what kinds of devices have symlinks and which ones do not. - fixed a few bugs when devices did not have a "device" symlink. Rules were getting applied when they should not have been. - LABEL and CALLOUT rules now no longer require the BUS key. If the BUS key is not present, the LABEL or CALLOUT rule will be always be checked. This allows us to use these types of rules for devices without a "device" symlink. - a few other minor tweaks and bug fixes too. bye bye 1s delay (even if the next libsysfs would fix it the proper way)
Created attachment 22663 [details] foo.sh It is still there - only for devices with the device symlink its not. Try running this script, and see how long it takes (used to be a 1-3secs over here).
now in portage baby ... too bad it fails to compile for me ;) but i'll be posting a new bug for that