Ubuntu 11.04, by default, automounts a cdrom or dvd at /media/<vol_name>. I need to make the automounting system use a fixed name instead of the volume name for all CDs or DVDs inserted into this particular drive, e.g. "/media/op-drive0". A bit of searching turns up pretty much the same solution I used, successfully, on an older, gentoo box, which is to create an fdi file for hal, along the lines of the instructions at https://bbs.archlinux.org/viewtopic.php?id=91450. This doesn't seem to work on this box. Other sources say to use the gnome-mount utility to set the mounting properties. Ubuntu 11.04 doesn't know about the gnome-mount program. Any ideas?
I can't guarantee it will work under GNOME because I use KDE, but if I add a line for the DVD drive in
/etc/fstab like you used to need in older Linux distributions:
/dev/dvd /media/dvd auto user,noauto,exec,utf8 0
and ensure that the mount point
/media/dvd exists, then any time I access a DVD using the Dolphin file browser, the automount happens at the fixed mount point, ignoring the volume label.
$ mount ... /dev/sr1 on /media/dvd type iso9660 (ro,nosuid,nodev,utf8,user=orbweaver)
It appears that the automounting system uses the contents of
/etc/fstab to override its default behaviour, but again this could be KDE-specific.