* [PATCH] Rename /dev/pktcdvd to avoid userspace conflict
@ 2005-01-07 14:30 Daniel Drake
2005-01-07 14:54 ` Marco d'Itri
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Drake @ 2005-01-07 14:30 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 416 bytes --]
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
[-- Attachment #2: rename-pktcdvd.patch --]
[-- Type: text/x-patch, Size: 567 bytes --]
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"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Rename /dev/pktcdvd to avoid userspace conflict
2005-01-07 14:30 [PATCH] Rename /dev/pktcdvd to avoid userspace conflict Daniel Drake
@ 2005-01-07 14:54 ` Marco d'Itri
0 siblings, 0 replies; 2+ messages in thread
From: Marco d'Itri @ 2005-01-07 14:54 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 334 bytes --]
On Jan 07, Daniel Drake <dsd@gentoo.org> wrote:
> 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.
--
ciao,
Marco
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-07 14:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-07 14:30 [PATCH] Rename /dev/pktcdvd to avoid userspace conflict Daniel Drake
2005-01-07 14:54 ` Marco d'Itri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).