udev creates /dev/pktcdvd as a device itself, but the tools (udftools) expect that device to be /dev/pktcdvd/control. This happens with kernel 2.6.10 and udev 050. Reproducible: Always Steps to Reproduce: 1. 2. 3.
I have found a solution for this in this page: http://reactivated.net/patches/udev/050/rename-pktcdvd.patch Following the instructions I have added the following to /etc/udev/rules.d/50-udev.rules: # packet writing # avoids conflict with userspace KERNEL="pktcdvd", NAME="%k/control" And it works. I have attached the patch.
Created attachment 48874 [details, diff] proposed patch
I would extend the previous modification and add one to 50-udev.permissions as follows: 1) /etc/udev/permissions.d/50-udev.permissions # packet devices pktcdvd/*:root:cdrw:0660 This follows the Gentoo standard of requiring group "cdrw" membership to perform CD-R/CD-RW/DVD-R/DVD+RW/DVD-RW writing. 2) /etc/udev/rules.d/50-udev.rules # packet devices KERNEL="pktcdvd", NAME="pktcdvd/control" KERNEL="pktcdvd[0-9]*", NAME="pktcdvd/pktcdvd%n" This relocates the pktcdvd device (c 10 61) into /dev/pktcdvd/control and packet devices into /dev/pktcdvd/pktcdvd0 .. /dev/pktcdvd/pktcdvd9. There is a caveat to all of this. The udev install or upgrade will have to remove any existing /dev/pktcdvd device (c 10 61) that udev will have created by default so the /dev/pktcdvd directory may be created. These are worthwhile changes because much of the published information on configuring packet writing assumes block major 97 for the packet devices. The kernel doesn't use this major number anymore (gentoo-dev-sources, at least, uses block major 254) and these changes will make it work out-of-the-box for packet writing enabled kernel configurations.
Will be fixed in the next release.