> To: [EMAIL PROTECTED]
> From: Stephen Williams <[EMAIL PROTECTED]>
> Date: Thu, 24 May 2001 21:43:56 -0700
> Basically, what it does is provide a means for hotplug ``add'' scripts
> to register a remove handler that will automatically be called if
> the device is removed. It shouldn't affect the (already slow) speed
> of the add behavior, and really is a small and simple patch.
The patch looks fishy to me. Does it work when the root is
mounted read-only?
> --- etc/hotplug/usb.agent 2001/04/24 15:07:33 1.12
> +++ etc/hotplug/usb.agent 2001/05/23 00:35:47
> @@ -281,6 +294,10 @@
> FOUND=false
> LABEL="USB product $PRODUCT"
>
> + if [ -e "$REMOVER" ]; then
> + rm -f "$REMOVER"
> + fi
> +
> # on 2.4 systems, modutils 2.4.2+ maintains MAP_CURRENT
> # ... otherwise we can't rely on it (sigh)
> case "$KERNEL" in
>[... etc. ...]
-- Pete
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel