[Hampshire] Debian auto-mount scripting?

Page principale

Répondre à ce message
Auteur: Chris Dennis
Date:  
À: Hampshire
Sujet: [Hampshire] Debian auto-mount scripting?
Hello folks

What's the up-to-date way to run a script when a USB hard-drive is
plugged in to a server running Debian 5.0 and a 2.6.26 kernel?

Autofs/automount? udev? The technology seems to keep changing, and I
don't know what's fashionable this year.

At the moment I've got autofs mounting the drive when it's plugged in,
but I'd also like to trigger the backup script.

And this is for a server, so there's no desktop magic happening.

cheers

Chris
-- 
Chris Dennis                                  cgdennis@???
Fordingbridge, Hampshire, UK