All of lore.kernel.org
 help / color / mirror / Atom feed
* rules: avoid traversing parent of every single device?
@ 2009-05-22 14:15 Alan Jenkins
  2009-05-22 14:26 ` Kay Sievers
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Alan Jenkins @ 2009-05-22 14:15 UTC (permalink / raw)
  To: linux-hotplug

Hi,

I've been looking at what is responsible for all the path lookup 
activity in coldplug.  On my debian stable system, it looks like every 
device gets its parent looked up in sysfs.  I think this is due to 
SUBSYSTEMS matches.

I see the udev default rules are different, but it looks like they still 
test for SUBSYSTEMS on every single device:

SUBSYSTEMS="scsi", ATTRS{type}="1|8", GROUP="tape"
SUBSYSTEMS="scsi", ATTRS{type}="4|5", GROUP="cdrom"
SUBSYSTEMS="scsi", ATTRS{type}="0", GROUP="disk"


Should we add SUBSYSTEM="scsi_generic" to these three rules?

Thanks
Alan

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-22 14:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-22 14:15 rules: avoid traversing parent of every single device? Alan Jenkins
2009-05-22 14:26 ` Kay Sievers
2009-05-22 14:33 ` Alan Jenkins
2009-05-22 14:37 ` Kay Sievers
2009-05-22 14:42 ` Alan Jenkins
2009-05-22 14:47 ` Kay Sievers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.