Project Idea - Automount of flash media - help needed.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bryce C
Date:  
Subject: Project Idea - Automount of flash media - help needed.
--=-Oje8Wd7SyjMZeUQSct+U
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Or use hotplug in 2.4 which will detect when a new usb device's been
connected, insmod the needed module, and if configured, run a script.
However, there is no plug/unplug event upon insertion of the media,
ruining that idea :-(.


On Tue, 2003-12-23 at 21:06, Deepak Saxena wrote:
> Run kernel 2.6, see udev. You can connect scripts that are called when
> certain events such as plug and unplug occur.
>=20
> ~Deepak
>=20
> 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 bu=

t
> > not able to cope with that strain either. Thoughts? Ideas?
> > Thank You,
> > --=20
> > Bryce C <>
> > CoBryce Communications

--=20
Bryce C <>
CoBryce Communications

--=-Oje8Wd7SyjMZeUQSct+U
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/6RH2/wbq/C6yyPcRAgWcAKC5mLFdMWCDxy47bzIyQCsiItB79QCfZjBf
CYqyEPj7tUQsh6d8MX671Wg=
=IKYD
-----END PGP SIGNATURE-----

--=-Oje8Wd7SyjMZeUQSct+U--