Server Fault is a question and answer site for system and network administrators. 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've got a couple of remote servers in a school, and I'd like to set them up so that, as soon as someone (probably a teacher) plugs in an external hard disk, it will be mounted and the backup started.

What's the best way to do this?

share|improve this question
What OS are the servers running? – dunxd Feb 11 '10 at 14:55
Gentoo and Debian. Not sure off the top of my head which kernel version. – David Wolever Feb 11 '10 at 21:21
The accepted answer to this question is more detailed:… – Redsandro Jan 3 '13 at 13:49
up vote 2 down vote accepted

Couple ways of doing this:

share|improve this answer
Thanks - I'll give it a try. – David Wolever Feb 11 '10 at 15:38
You know of any resource that covers having the script handled by the session of a certain user so that you can use GUI commands like in this question? – Redsandro Apr 16 '13 at 10:02

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.