From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergey Vlasov Date: Tue, 23 Aug 2005 13:39:19 +0000 Subject: Re: Run hotplug scripts after device node is created? Message-Id: <20050823173919.1f00c616.vsu@altlinux.ru> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Signature=_Tue__23_Aug_2005_17_39_19_+0400_RTG4MVd7ghwMZYK9" List-Id: References: In-Reply-To: To: linux-hotplug@vger.kernel.org --Signature=_Tue__23_Aug_2005_17_39_19_+0400_RTG4MVd7ghwMZYK9 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Tue, 23 Aug 2005 14:27:09 +0200 Marco d'Itri wrote: > On Aug 23, Olivier Blin wrote: > > > What should we do then? Write an udev rule per device ids? > Yes, or match on some other appropriate value. > > > This would end up in a huge number of rules, can udev manage that > > without performance cost? > I doubt that the number or rules would be high. $ grep -v '^#' /etc/hotplug/usb/libsane.usermap | wc -l 210 $ grep -v '^#' /etc/hotplug/usb/usbcam.usermap | wc -l 372 These are basically just a bunch of USB vendor/device IDs, and it is likely that most devices don't have any reliable attributes which would allow to match a group of them with a single rule. --Signature=_Tue__23_Aug_2005_17_39_19_+0400_RTG4MVd7ghwMZYK9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFDCycHW82GfkQfsqIRAu7MAKCQ5vkAp96rDG6IrTUZ3MBpEB+JywCgksOL WQWl05VcUdF1JC7rE51rgUY= =CO/E -----END PGP SIGNATURE----- --Signature=_Tue__23_Aug_2005_17_39_19_+0400_RTG4MVd7ghwMZYK9-- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel