execute script after (auto)mounting external device

Patrick Drechsler patrick at pdrechsler.de
Sat Dec 5 02:02:42 UTC 2009


Tom H wrote:
> I thought that you would be able to grep for your removable's uuid or
> label and then run whatever script you wanted. The script would have
> to be run manually though; not quite what I understand that you want.
> The only other option that I can think of is to write a udev rule for
> your device to run a script.

We are getting closer to a solution (thanks for your patience so far!): 
Do you have a pointer on how to write a udev rule?

Regards,

Patrick







More information about the ubuntu-users mailing list