execute script after (auto)mounting external device

Patrick Drechsler patrick at pdrechsler.de
Sat Dec 5 04:24:45 UTC 2009


Tom H wrote:
> Possibly "SUBSYSTEM=="block", ATTR{address}=="uuid", RUN+="/path/to/script".
> 
> You can get the correct susbsystem and attr entries with udevadm info
> /dev/<...>.

I will give this a try!

> This is my last email tonight. My shift is ending in 2o minutes and I
> have to focus on work before I leave.

Thanks for your help and have a nice weekend,

Patrick






More information about the ubuntu-users mailing list