I haven't followed the thread from the beginning so I'm not sure what
system you are referring to and what you men by saying you checked in
the system.
However...
> 1) first one:
> $ cat /sbin/hotplug-usb
> #!/bin/sh
>
> chroot /mnt/cf /sbin/hotplug "$@"
Seems to be a hotplug-usb script that runs /sbin/hotplug with the
/mnt/cf as root dir and passes on all arguments or something. Are we
talking ts-7400?
> 2) second one:
> $ cat /proc/sys/kernel/hotplug
> /sbin/hotplug
This is a statement that the kernel tries to use /sbin/hotplug as
userspace handling mechanism. Thus there should be a /sbin/hotplug
script to decide what to do for each situation.
If you grab the source for a 2.6 kernel and read hotplug.txt or visits
http://linux-hotplug.sourceforge.net (in particular
http://linux-hotplug.sourceforge.net/?selected=usb ) you may be able to
figure out how it works.
This should get you started but you have to sort out the details
yourself because I really don't know what happens after /sbin/hotplug is
called.
Regards Per Öberg
--
Per Öberg, Ph.D. Student
Address: Division of Vehicular Systems
Department of Electrical Engineering
Linköpings universitet
581 83 Linköping, SWEDEN
Phone: +46 (0)13-28 23 69
e-mail:
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|