Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

This seems like a simple question to me, but after two nights of searching and tinkering, I haven't been able to find anything promising.

I am running a headless Ubuntu server. I want to be able to stick a DVD or BD in my external drive, and have the server immediately begin ripping it.

I read about HAL, but it looks like that's no longer supported, so I didn't investigate very far.

It seemed like UDEV was the way to go, but upon experimenting, I found that UDEV doesn't seem to generate events when an optical disk is inserted-- only mounted.

So I gave autofs a try, and haven't had much luck with that either. It doesn't mount when I put the disk in, and I get errors on startup complaining about "mountall: Event failed".

What's the right way to do this?

share|improve this question

I recommend looking at http://sudocode.blogspot.com/2009/06/auto-rip-audio-cds-in-ubuntu-server.html

Worked for me

share|improve this answer
This uses ivman, which I can't find on Ubuntu Oneiric. Is there a workaround or alternative for this? – Kkkev Sep 22 '12 at 17:36

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.