From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schweizer Date: Tue, 14 Dec 2004 19:00:24 +0000 Subject: Request for adding slmodem rules.d and permissions.d file. Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, I would like to request to add the slamr and slusb rules to the udev default rules file. Currently the ebuild does: echo 'KERNEL="slamr", NAME="slamr0"' > \ ${D}/etc/udev/rules.d/55-${PN}.rules echo 'KERNEL="slusb", NAME="slusb0"' >> \ ${D}/etc/udev/rules.d/55-${PN}.rules dodir /etc/udev/permissions.d echo 'slamr*:root:dialout:0660' > \ ${D}/etc/udev/permissions.d/55-${PN}.permissions but I think this is a better way to do it (notice the %n): diff -u /etc/udev/rules.d/50-udev.rules etc/udev/gentoo/udev.rules --- /etc/udev/rules.d/50-udev.rules 2004-12-10 11:34:18.000000000 +0100 +++ etc/udev/gentoo/udev.rules 2004-12-14 19:45:33.324061480 +0100 @@ -147,3 +147,6 @@ KERNEL="zappseudo", NAME="zap/pseudo" KERNEL="zap[0-9]*", NAME="zap/%n" +# slmodem devices +KERNEL="slamr", NAME="slamr%n" +KERNEL="slusb", NAME="slusb%n" diff -u /etc/udev/permissions.d/50-udev.permissions etc/udev/gentoo/udev.permissions --- /etc/udev/permissions.d/50-udev.permissions 2004-12-10 11:34:18.000000000 +0100 +++ etc/udev/gentoo/udev.permissions 2004-12-14 19:46:05.809123000 +0100 @@ -203,3 +203,7 @@ sgi_fetchop:root:root:666 iseries/vcd*:root:disk:660 iseries/vd*:root:disk:660 + +# slmodem devices +slamr*:root:dialout:0660 +slusb*:root:dialout:0660 Stefan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ 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