udev 004

Submitted by Jeremy
on October 21, 2003 - 11:49am

Greg KH released udev 004, noting the magor changes since 003:

"MAJOR speedups over the previous version. No more "sleep(1)" always, we now wait for the "dev" file to show up, and not blindly guess. Partitions now work again. Removal of devices that were named differently from the kernel name work properly. Proper spec file. A man page with real content. Sync up with current version of libsysfs."

He goes on to add, "Many thanks to Dan Stekloff, Kay Sievers, and Robert Love for their help with patches for this release. I really appreciate it." Read on for the full summary of changes since 003.

Update (Oct 21, 2003): Note the required loop fix below.


From: Greg KH [email blocked]
To:  linux-hotplug-devel, [email blocked]
Subject: [ANNOUNCE] udev 004 release
Date: Tue, 21 Oct 2003 09:28:56 -0700

Hi,

I've released the 004 version of udev.  It can be found at:
	kernel.org/pub/linux/utils/kernel/hotplug/udev-004.tar.gz

Thanks to Robert Love, there are now rpms available at:
	kernel.org/pub/linux/utils/kernel/hotplug/udev-004-1.i386.rpm
with the source rpm at:
	kernel.org/pub/linux/utils/kernel/hotplug/udev-004-1.src.rpm

udev is a implementation of devfs in userspace using sysfs and
/sbin/hotplug.  It requires a 2.6 kernel to run properly.

The major changes since the 003 release are:
	- MAJOR speedups over the previous version.  No more "sleep(1)"
	  always, we now wait for the "dev" file to show up, and not
	  blindly guess.
	- partitions now work again.
	- removal of devices that were named differently from the kernel
	  name work properly.
	- proper spec file.
	- a man page with real content.
	- sync up with current version of libsysfs.

Many thanks to Dan Stekloff, Kay Sievers, and Robert Love for their help
with patches for this release.  I really appreciate it.

The full ChangeLog can be found below.
 
The udev FAQ can be found at:
	kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ
 
Development of udev is done in a BitKeeper tree available at:
	bk://kernel.bkbits.net/gregkh/udev/

If anyone ever wants a snapshot of the current tree, due to not using
BitKeeper, or other reasons, is always available at any time by asking.

thanks,

greg k-h


Summary of changes from v003 to v004
============================================


Daniel E. F. Stekloff:
  o new version of libsysfs patch

Greg Kroah-Hartman:
  o 004 release
  o major database cleanups
  o Changed test.block and test.tty to take ACTION from the command line
  o don't sleep if 'dev' file is already present on device add
  o fix comment about how the "dev" file is made up
  o more database work.  Now we only store the info we really need right now
  o add BUS= bug to TODO list so it will not get forgotten
  o spec file changes
  o test.block changes
  o ok, rpm likes the "_" character instead of "-" better
  o change the version to 003-bk to keep things sane with people using the bk tree
  o got "remove of named devices" working
  o fix segfaults when dealing with partitions

Kay Sievers:
  o man file update
  o man page update

Robert Love:
  o udev: mode should be mode_t
  o udev: trivial trivialities
  o udev: cool test scripts again
  o udev spec file symlink support
  o udev: cool test scripts
  o udev spec file bits


From: Jesse Barnes [email blocked] Subject: Re: [ANNOUNCE] udev 004 release Date: Tue, 21 Oct 2003 14:45:55 -0700 Thanks for the new release, Greg. I just tried it out on a system with some disks, but a bunch of udev processes ended up hanging. Is there something I'm missing or do you need a patch like this? Thanks, Jesse --- udev-004/udev-add.c Mon Oct 20 14:39:08 2003 +++ udev-004-working/udev-add.c Tue Oct 21 14:42:27 2003 @@ -141,7 +141,7 @@ strcat(filename, path); strcat(filename, "/dev"); - while (loop < SECONDS_TO_WAIT_FOR_DEV) { + while (loop++ < SECONDS_TO_WAIT_FOR_DEV) { dbg("looking for %s", filename); retval = stat(filename, &buf); if (retval == 0) {
From: Greg KH [email blocked] Subject: Re: [ANNOUNCE] udev 004 release Date: Tue, 21 Oct 2003 15:13:38 -0700 On Tue, Oct 21, 2003 at 02:45:55PM -0700, Jesse Barnes wrote: > Thanks for the new release, Greg. I just tried it out on a system with > some disks, but a bunch of udev processes ended up hanging. Is there > something I'm missing or do you need a patch like this? Yeah, sorry, this kind of fix is required :( It's fixed in my bk tree now. Oh, and it looks like the LABEL rule is also broken due to the libsysfs changes... I'm working on adding regression tests right now to prevent things like this from slipping through. thanks, greg k-h

Related Links:

What is the state of udev?

Anonymous
on
October 22, 2003 - 4:20pm

Does it generally work and can I casually test it, or is it mainly a developer release?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.