From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Drake Date: Fri, 07 Jan 2005 14:30:02 +0000 Subject: [PATCH] Rename /dev/pktcdvd to avoid userspace conflict Message-Id: <41DEACE3.1010908@gentoo.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------040605030204010808000005" List-Id: To: linux-hotplug@vger.kernel.org This is a multi-part message in MIME format. --------------040605030204010808000005 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, By default, udev creates the control node for pktcdvd at /dev/pktcdvd, whereas with devfs it gets created at /dev/pktcdvd/control. Also, the userspace tool looks for the control node at /dev/pktcdvd/control, and isn't too happy when /dev/pktcdvd is there but not a directory. This patch updates the rules file to take account of this. I only updated the Gentoo rules, should others be updated too? Daniel --------------040605030204010808000005 Content-Type: text/x-patch; name="rename-pktcdvd.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rename-pktcdvd.patch" diff -urNp udev-050/etc/udev/gentoo/udev.rules udev-dsd/etc/udev/gentoo/udev.rules --- udev-050/etc/udev/gentoo/udev.rules 2004-12-18 05:53:07.000000000 +0000 +++ udev-dsd/etc/udev/gentoo/udev.rules 2005-01-07 15:33:43.476238128 +0000 @@ -94,6 +94,10 @@ KERNEL="tap*", NAME="netlink/%k" # network devices KERNEL="tun", NAME="net/%k" +# packet writing +# avoids conflict with userspace +KERNEL="pktcdvd", NAME="%k/control" + # pty devices KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k" KERNEL="tty[p-za-e][0-9a-f]*", NAME="pty/s%n", SYMLINK="%k" --------------040605030204010808000005-- ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ 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