execute script after (auto)mounting external device
Fred Roller
froller at tnclimited.com
Sat Dec 5 06:07:41 UTC 2009
Patrick Drechsler wrote:
> Hi,
>
> I would like to execute a script after a certain external device has
> been (auto)mounted.
>
> What would be the best way to do this?
>
> Thankful for any pointers,
>
> Patrick
>
> $ uname -a
> Linux golem2 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:53:52 UTC
> 2009 x86_64 GNU/Linux
>
>
>
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.
--
Fred
www.fwrgallery.com
"Life is like linux, simple. If you are fighting it you are doing something wrong."
More information about the ubuntu-users
mailing list