--=-mJsT6vonmymrSH+OxYCz Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Yes, I could setup hotplug so that it would run whatever when I plugged in the cardreader, but I don't want to have to do that (plug/unplug the cardreader). I'm looking for something that will possibly monitor the luns of the usb cardreader, watching for a partition to appear and the run whatever. So far, I've looked at amd, autofs, and supermount and I haven't found very clear answers as to whether they might accomplish this. amd, and autofs to an extent, seem to focus on mount NFS filesystems on demand. "On demand" doesn't solve my problem here because the user shouldn't have to do anything besides insert the media. I'm really starting to wonder if this is at all possible without something like an ATAPI insert notification that would signal the kernel a [new] disc had been inserted in to the CD-ROM drive. It seems that Mandrake does something like this, automatically opening konqueror when a new cd's been inserted, or also a USB flash drive. Anyone know if this works (my idea of just inserting media) in Mandrake? If so, I'll download a copy and try and extract how it does it. I'm sorry for my long ramble. Just trying to sort things out. -Bryce On Tue, 2003-12-23 at 20:53, Austin Godber wrote: > Actually I had though about this ... there should be a way to do this sin= ce=20 > there is a hotplug (man hotplug) aspect to USB and PCMCIA devices. perha= ps I=20 > will check this out. >=20 > Austin >=20 > Bryce C wrote: > > 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 bu= t > > not able to cope with that strain either. Thoughts? Ideas? > > Thank You, >=20 >=20 > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --=20 Bryce C CoBryce Communications --=-mJsT6vonmymrSH+OxYCz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/6RGH/wbq/C6yyPcRAjkqAKCVJmdEAaZwwBStK5huCgfA5Q/BqwCfdD6K m9x018RFoqzQG4NdVeuQYvE= =3ZH8 -----END PGP SIGNATURE----- --=-mJsT6vonmymrSH+OxYCz--