Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

Is there a way to force DVDs to be auto-mounted using the "unhide" option by default? Currently, in order to see hidden files on a DVD that Ubuntu has auto-mounted, I have to unmount it and then re-mount manually like this:

sudo mount -t udf -o ro,unhide /dev/cdrom ~/cdrom0/
share|improve this question

Use a text editor (not a word processor!) and edit the file /etc/fstab (note you need to be root or use sudo to do this.)

One of the lines should concern the DVD/CD, something like:

/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0

In the forth column add unhide, like this:

/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8,unhide 0       0

Save this and it should get you what you want on the next mount. I'm not real sure if the auto-mounter reads fstab each time, but worst case it should work after a reboot.

Hope that helps

share|improve this answer

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.