Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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?

share|improve this question
Cannot you not install gnome-mount in 11.04?… – Doc Jul 8 '11 at 21:09

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.

share|improve this answer
Thanks. I do recall trying this in Gentoo some time ago, and it didn't work. I believe automounting went away and I had to explicitly mount the medium when I inserted a CD or DVD. There are a number of commented-out lines in /etc/fstab on that box as a record of this experiment. But it looks as if things have come a long way :) I think your solution will solve my problem. – Lindsay Haisley Jul 8 '11 at 23:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.