From mboxrd@z Thu Jan 1 00:00:00 1970 From: sriram swaminathan Date: Wed, 13 Jun 2007 19:12:29 +0000 Subject: Question on device filtering. Message-Id: <313880.82875.qm@web38903.mail.mud.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org I have need where I would like to reject all usb devices except storage media. I also don't want to allow hubs. I have been trying to filter using SYSFS{removable}="1" and few other things but it is not working well as some devices don't have "removable" set to "1", e.g. keyboard or ethernet. So, the question is, is there a rule or a program that I can use to allow only storage device upon insertion? Thanks in advance for any help. ____________________________________________________________________________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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