which system runs scripts when USB devices plugged in?

Nick Urbanik nicku at nicku.org
Wed Nov 10 08:56:39 UTC 2010


Dear Patrick,

On 09/11/10 22:16 -0430, Patrick O'Callaghan wrote:
>On 11/09/2010 03:44 PM, Nick Urbanik wrote:
>> Dear Folks,
>>
>> I have written a Perl program to copy podcasts onto my iriver device
>> when it is plugged in.  I want to be able to run it automatically.
>> Which system in Fedora 14 is the most appropriate place to run such a
>> script from?
>>
>> udev?  /etc/modprobe.d/*?  /sbin/hotplug is not there any more.
>
>Udev. Take a look at /etc/udev/rules.d/*

Thank you for that.  I am familiar with udev, and was under the
impression that it is mainly for creating devices and links to devices
that are predictable.

If udev is the path I should tread for this, then I will do so.  But
is that really the most appropriate place?
-- 
Nick Urbanik             http://nicku.org           nicku at nicku.org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24


More information about the users mailing list