"autorun" type functionality from automounter

Jason D. Clinton me at jasonclinton.com
Tue Jul 25 15:19:52 CDT 2006


On Tue, 2006-07-25 at 15:05 -0500, Kyle Sexton wrote:
> I was wondering if anyone had a way to automatically run a command
> after automounter sees a new device and mounts it.  My goal is to
> automatically sync over new podcasts to an mp3 player when it's
> mounted.  I've searched around and haven't seen a simple way to do
> this.  I'm trying to avoid writing a poller in a cronjob that looks
> for the device. :) 

The way to do it is to use a udev rule.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://kclug.org/pipermail/kclug/attachments/20060725/b909b5a9/attachment.pgp 


More information about the Kclug mailing list