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

From: Greg KH
Date: Mon Oct 06 2003 - 13:13:18 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/