Greg K-H released udev 010 listing a number of major changes.
Read on for the full changelog.
From: Greg KH [email blocked] To: linux-hotplug-devel, [email blocked] Subject: [ANNOUNCE] udev 010 release Date: Mon, 22 Dec 2003 16:58:09 -0800 I've released the 010 version of udev. It can be found at: kernel.org/pub/linux/utils/kernel/hotplug/udev-010.tar.gz rpms built against Red Hat FC1 are available at: kernel.org/pub/linux/utils/kernel/hotplug/udev-010-1.i386.rpm with the source rpm at: kernel.org/pub/linux/utils/kernel/hotplug/udev-010-1.src.rpm udev is a implementation of devfs in userspace using sysfs and /sbin/hotplug. It requires a 2.6 kernel to run. Please see the udev FAQ for any questions about it: kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ Please read the FAQ if you have any questions about devfs and udev. It's been updated a lot in response to all of the confusion about this topic. The major changes since the 008 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. Thanks again to everyone who has send me patches for this release, a full list of everyone, and their changes is below. udev development is done in a BitKeeper repository located at: bk://linuxusb.bkbits.net/udev Daily snapshots of this tree used to be found at: http://www.codemonkey.org.uk/projects/bitkeeper/udev/ But that box seems to be down now. Hopefully it will be restored someday. If anyone ever wants a tarball of the current bk tree, just email me. thanks, greg k-h Summary of changes from v009 to v010 ============================================ <ananth:in.ibm.com>: o change pgsize <christophe.varoqui:free.fr>: o extras multipath update o extras multipath update o extras multipath update o extras multipath update Kay Sievers: o fix udev-test.pl o small cleanup udev-remove.c o experimental CALLOUT script for devfs ide node creation with cd, disc, part o add any valid device o introduce format char 'k' for kernel-name o trivial make fixes o don't overwrite old config on install o udev-remove.c cleanups o bug in udev-remove.c o trivial cleanup parser changes <roman.kagan:itep.ru>: o fix comment and whitespace handling in config files Adam Kropelin: o Allow build with empty EXTRAS Daniel E. F. Stekloff: o libsysfs 0.4.0 patch o fix scsi_id segfault with udev-009 o add libsysfs docs David T. Hollis: o mark config files as such in the rpm spec file Greg Kroah-Hartman: o fix complier warning in namedev.c o add documentation for the new '%k' modifier (kernel name replacement) o add documentation about the multiple sysfs values that are now allowed for the LABEL rule o add tests for multi-file LABEL rules o add ability to have up to 5 SYSFS_ file/value pairs for the LABEL rule o Just live with a sleep(1) in namedev for now until libsysfs is fixed up o try to wait until the proper device file shows up in sysfs o remove unneeded TODO and FIXME entry o clean up the stand-alone tests to work properly on other people's machines o add tests to catch whitespace and comment config file parsing errors
From: Greg KH [email blocked] Subject: Re: [ANNOUNCE] udev 010 release Date: Mon, 22 Dec 2003 17:23:10 -0800 On Mon, Dec 22, 2003 at 04:58:09PM -0800, Greg KH wrote: > I've released the 010 version of udev. It can be found at: > kernel.org/pub/linux/utils/kernel/hotplug/udev-010.tar.gz Oh, forgot to mention that udev runs a _lot_ slower now, taking at least 1 second for every device addition. This makes the initscript or the test scripts take a long time. This was done to try to fix the race condition where udev beats the kernel before it has created all of the sysfs links and files. I need some libsysfs changes before this can be done properly, without the big speed hit (the libsysfs people are working on it.) If anyone's interested in it, take a look at the FIXMEs in namedev.c. I tried messing around with just a simple stat() call, but still couldn't reliably get stuff to work for partitions on usb-storage devices (which are slow to enumerate.) Any help here would be apprecated. thanks, greg k-h
suggested addition to udev's init script...
would it be possible to you (for the releases) add a check to make sure udev is running on 2.5+... i have both 2.4 and 2.6 kernels on my machine and i switch back and forth depending on what i am playing with.... i keep adding some dirty code to the udev init script to make it check to make sure it is on 2.6 and not 2.4, but whenever i install a new relsease of udev it gets wiped...