@Peter Bennett
Ok, I finally managed to test this with CDs and worked out the problem.
This was a fault in my shell script.
The test line in the script should be 'if [ "$n" -ne '0' ];then umount
/dev/sr0;fi'. Note the command should have been 'umount' not 'eject'.
Complete solution taking the ab
@ Peter Bennet (comment #30)
Sorry, I don't use Video CD's so I can't check what the problem is - presumably
'dvd-rw-mediainfo' doesn't recognise Video CD's and produces an error of some
kind. You could try running 'dvd-rw-mediainfo /dev/sr0; echo "status = $?"'
while a Video CD is in the drive
The bug is still present in a new install of Xubuntu 16.04 (and
presumably all the other *buntus using systemd 229), and this workaround
still works:
sudo apt-get install dvd+rw-tools
echo 'KERNEL=="sr0", ACTION=="change", RUN+="/usr/local/bin/sr0_change.sh"' |
sudo tee /etc/udev/rules.d/61-sr0-c
3 matches
Mail list logo