linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Script is called multiple times
@ 2005-05-17 12:48 Rob Draaijer
  2005-05-17 13:09 ` Alexander E. Patrakov
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Rob Draaijer @ 2005-05-17 12:48 UTC (permalink / raw)
  To: linux-hotplug

Hi guys,

I encountering a weird problem using hotplug. My script to automatically mount 
a mass storage device and start some services is always called two times 
(with the same environment variables). Does anyone how to resolve this?

Regards, 

Rob Draaijer

Environment variables during execution:

DEVFS=/proc/bus/usb
REMOVER=/var/run/usb/%proc%bus%usb%001%012
PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTION­d
PWD=/etc/hotplug
HOME=/
SHLVL=3
DEVICE=/proc/bus/usb/001/012
INTERFACE=8/6/80
PRODUCT×d/1620/100
TYPE=usb
_=/usr/bin/env

Part of usb.usermap:

usb-storage          0x000f 0x03ee   0x0000    0x0000       0x0245       0x00         
0x00            0x00            0x00            0x00            0x00            
0x00000000
usb-storage          0x000f 0x03f0   0x0107    0x0200       0x0200       0x00         
0x00            0x00            0x00            0x00            0x00            
0x00000000
usb-storage          0x000f 0x04e6   0x0001    0x0200       0x0200       0x00         
0x00            0x00            0x00            0x00            0x00            
0x00000000
..... .... .....




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id\x16344&op=click
_______________________________________________
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-05-19  7:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-17 12:48 Script is called multiple times Rob Draaijer
2005-05-17 13:09 ` Alexander E. Patrakov
2005-05-17 13:30 ` Kay Sievers
2005-05-17 14:33 ` Rob Draaijer
2005-05-18 12:43 ` Kay Sievers
2005-05-19  7:31 ` Rob Draaijer
2005-05-19  7:39 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).