On Wed, May 23, 2007 at 09:27:12AM -0400, Mark Lord wrote:I think what Mark is asking is about the case where udev gets an event, is told to look in sysfs, and while looking encounters a partially described device.Greg KH wrote:And yes, it only starts to look for things when it recieves an event, itDoes it "look for" only that one event, or does it "scan" at that point?
does not "scan" sysfs at all.
udev will act on that event, and as I mentioned, not read anything from
sysfs at all, unless a custom rule is in the rules file asking it to
read a specific sysfs file in the tree.
So no "scanning" happens unless specificically asked for.
And as mentioned, udev can work just fine without sysfs enabled at all
now, with the exception of some custom rules for some devices.