Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to create a script that automatically copy the dvd to a folder in my FreeBSD box (copy back DVD archives).
I would need a notification from the system when the DVD tray has been closed. I haven't found any start point which subsystem should provide this. I was look for hal, but I can't see how can it help me.

share|improve this question
add comment

1 Answer 1

Take a look at the sysutils/automount port.

It's config file has a parameter FM where you could launch your script.

share|improve this answer
add comment

Your Answer

 
discard

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.