Re: [ANNOUNCE] udev 015 release

Greg KH
2004-01-27T22:49:59Z

On Tue, Jan 27, 2004 at 12:52:19AM -0500, Chris Friesen wrote:
> Greg KH wrote:
> >I've released the 015 version of udev. It can be found at:
> > kernel.org/pub/linux/utils/kernel/hotplug/udev-015.tar.gz
>
> >Also in this release is the start of a udev daemon. It's really in 3
> >pieces:
> > udevsend - sends the hotplug message to the udev daemon
> > udevd - the udev daemon, gets the hotplug messages, sorts them
> > in proper order, and passes them off to the udev program
> > to act apon them.
> > udev - still the same.
>
> I'm curious about the rationale behind breaking it up into multiple chunks.
>
> udevsend being separate I assume is so that it can be easily called from
> a script while still keeping something persistant?

Yes, it will be called from /sbin/hotplug.

> I'm not sure I see what separating udev and udevd into different
> binaries actually buys you. Wouldn't it be just as easy to make udev be
> the daemon based on runtime options or something?

It should be faster this way. We can send off udev to run for different
devices at the same time (blocking for any pending device changes for
any currently running udev instances.)

Take a look at the current code and let us know if you have any
questions (warning, the code is in quite a bit of flux, you might want
to look at the bk tree...)

thanks,

greg k-h