execute script after (auto)mounting external device
Tom H
tomh0665 at gmail.com
Sat Dec 5 09:19:12 UTC 2009
>> I would like to execute a script after a certain external device has
>> been (auto)mounted.
> http://ubuntuforums.org/showthread.php?t=502864
> I used this method for a client to use a specific usb hdd's for backups
> when they plugged them in. Think this is what you are shooting for,
> good luck.
Good thread thanks. Although I would try to create a rule without
"ACTION=="add"" first and not prepend "ACTION=="add"" if it is not
needed.
It shows that my earlier suggestion of ""SUBSYSTEM=="block"" was
incorrect. Sorry (I was at the end of an 18.5-hour shift after all!).
More information about the ubuntu-users
mailing list