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

I have an Alix board in my living room running Voyage MPD edition and acting as jukebox.

In order to play "guest" music, I would like that MPD automatically updates its database with the content of the USB sticks one could connect to the box. Is there a straightforward way to do it (via udev or MPD) ?


share|improve this question
If you already know what udev and mpd are, it would be a nice little exercise for you to write a script that would do it. The tricky part is to look for how to run a command after external drive insertion (search engines may help you...) – tiktak Mar 28 '12 at 16:00

Your Answer


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

Browse other questions tagged or ask your own question.