Run kernel 2.6, see udev. You can connect scripts that are called when
certain events such as plug and unplug occur.
~Deepak
On Dec 23 2003, at 19:46, Bryce C was caught saying:
> Could someone suggest either a project already doing this or an
> effective way to do this?
> I'm trying to setup a box such that when I insert a removable flash
> medium in to the USB card reader, it will automatically mount it, copy
> the contents (pictures preferably) and then unmount it. I've considered
> running `find /dev/scsi/host0|grep part` every 5 seconds but that seems
> like it'd take up quite a few resources, considering that's 17280 times
> a day on a poor little K6 200Mhz with 32Mb of ram. No, not the worst but
> not able to cope with that strain either. Thoughts? Ideas?
> Thank You,
> --
> Bryce C <Plug@BryceCo.Net>
> CoBryce Communications
--
Deepak Saxena -
dsaxena@plexity.net