Re: small devfs patch for 2.5.65, plan to replace /sbin/hotplug

From: Greg KH (greg@kroah.com)
Date: Fri Mar 21 2003 - 18:21:31 EST


On Fri, Mar 21, 2003 at 01:45:09PM -0700, Kevin P. Fleming wrote:
> Adam J. Richter wrote:
> > I believe that the only change in this version of devfs is
> >moving the code to invoke the user level devfs_helper program to a
> >separate file, fs/devfs/notify.c. This change will simplify a future
> >code shrink inspired by David Brownell's suggesting that I think about
> >unifying hotplug with devfs. In the future I would like to lift
> >fs/devfs/notify.c out of devfs so that the code that currently invokes
> >user level helpers for hot plug events can be replaced with two calls
> >to a renamed devfs_event() on
> >/sys/bus/<bustype>/devices/<bus#>/<whatever>, one for insertion and
> >one for removal.

Adam, right now we get /sbin/hotplug events for every device insertion
and removal in the kernel. Do you want more than this?

> Are you still considering smalldevfs for 2.6 inclusion? If not, then I'd
> like to discuss with you (and Greg KH) the possibility of just eliminating
> devfs entirely, and moving to a userspace version that is driven entirely
> by /sbin/hotplug.

You mean with something like this:
        http://www.linuxsymposium.org/2003/view_abstract.php?talk=94
:)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:39 EST