Rename /dev/pktcdvd to avoid userspace conflict
PATCH 1/1 Rename /dev/pktcdvd to avoid userspace conflict
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
etc/udev/gentoo/udev.rules +4 -0
@@ -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"
Quoted 2 lines · Daniel Drake
This patch updates the rules file to take account of this. I only updated the Gentoo rules, should others be updated too?
FWIW, the debian udev package uses structured names for the pktcdvd devices in both the devfs-like and traditional naming schemes.
Signature · 2 lines
ciao, Marco