Re: [RFC 0/6] Backing Store for sysfs

Greg KH
2003-10-06T18:11:55Z

On Mon, Oct 06, 2003 at 11:00:40AM -0700, Kevin P. Fleming wrote:
> Greg KH wrote:
>
> >
> >That's good. But what happens after you run a find over the sysfs tree?
> >Which is essencially what udev will be doing :)
> >
>
> This sounds like an opportunity to improve the udev<->sysfs
> interaction. Does the hotplug event not give udev enough information
> to avoid this "find" search?

The hotplug event points to the sysfs location of the kobject, that's
all. libsysfs then takes that kobject location and sucks up all of the
attribute information for that kobject, which udev then uses to
determine what it should do.

Unless we want to pass all attribute information through hotplug, which
we do not.

Do you have any suggestions?

thanks,

greg k-h