From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Greaves Date: Sat, 24 Jul 2004 21:34:35 +0000 Subject: I don't want much... Message-Id: <4102D5EB.1000901@dgreaves.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Hi This overview page: http://linux-hotplug.sourceforge.net/?selected=3Doverview Says that a "Starting an application" is a reasonable thing to want to do. I just want to run a script. A simple script. That's it. Why on earth is it so hard? Hmm, maybe not the best tone to start with - but isn't hotplugging about=20 making the user's life easier? It's cool that it automatically loads my modules. Now all I have to do is start a shell and type: mount -t vfat -o=20 uid=DAvid,gid=3Dgreaves,sync /dev/sda1 /mnt/lexar Not exactly plug-and-play is it? When I plug in my Lexar Jumpshot I want to mount the drive and rsync my=20 piccies. What happens? I get a usb event then a scsi-host event then a scsi event then a block event and another block event then a scsi-device event Fine. So I add a usermap tied to the usb vendor/product id (the 'right' place)=20 and create a dummy module called lexar.script with a control script. It runs - good. At the wring time (ie before the scsi devices are registered) - bad. Do I really have to hack into the generic scsi-device agent? David ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id=10040&op=3Dclick _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel