execute script after (auto)mounting external device

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


Steve wrote:
> On Fri, 04 Dec 2009 23:42:32 -0000, Patrick Drechsler  
> <patrick at pdrechsler.de> wrote:
>> 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
>>
>>
> Have you looked at System > Preferences > Removable Drives and Media

Thanks for the pointer, Steve!

But I do not have that entry under System > Preferences.

My system is a clean install of 9.10 amd64. Do I have to install an 
additional package to see this entry? If so: which package do I have to 
install?

Regards, Patrick





More information about the ubuntu-users mailing list