Bugzilla – Bug 128825
wrong entry in /dev for pktcdvd
Last modified: 2006-02-08 19:22:58 UTC
Greetings! Seems that /dev entry for udftools is out of date. It should be an empty /dev/pktcdvd directory, while it is char special file: barracuda:/home/alex # l /dev/pktcdvd crw-rw---- 1 root root 10, 62 Oct 17 22:02 /dev/pktcdvd barracuda:/home/alex # Of course, trying to use it fails: barracuda:/home/alex # pktsetup /dev/pktcdvd /dev/cdrom ioctl: Inappropriate ioctl for device barracuda:/home/alex # but after I deleted /dev/pktcdvd and created directory there instead, it works: barracuda:/home/alex # rm -f /dev/pktcdvd barracuda:/home/alex # mkdir /dev/pktcdvd barracuda:/home/alex # pktsetup udfcd /dev/hda barracuda:/home/alex # !mount mount -t udf /dev/pktcdvd/udfcd /mnt/ barracuda:/home/alex # l /dev/pktcdvd/ total 0 drwxr-xr-x 2 root root 80 Oct 17 23:56 ./ drwxr-xr-x 12 root root 15900 Oct 17 23:56 ../ crw-r--r-- 1 root root 10, 62 Oct 17 23:56 control brw-r----- 1 root root 252, 0 Oct 17 23:56 udfcd barracuda:/home/alex # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 43G 23G 20G 55% / initramdevs 252M 104K 252M 1% /dev tmpfs 252M 12K 252M 1% /dev/shm /dev/sda1 30G 8.9G 22G 30% /media/windows /dev/pktcdvd/udfcd 164M 7.2M 157M 5% /mnt barracuda:/home/alex # ls /mnt/ . .. MVTS300 lost+found tps barracuda:/home/alex # umount /mnt/ Also I'd like to see initscripts support for UDF writing, and KDE support as well, asking me whether to mount (or actually do mount) inserted CD/DVD with UDF on it.
Does adding this to the udev.rules file work? KERNEL=="pktcdvd", NAME="pktcdvd/control" KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%k"
Will try day after, I have no access to the hardware this time.
It's still uncertain how to use UDF. If I insert UDF disc it is not accessed via packet writing interface (i.e. I can't open file on it, modify it, and save).
The udev rule is fixed. Closing the bug.