> 1) The comments in /lib/mdev/usbdisk_link say
> # NOTE: since mdev -s only provide $MDEV, don't depend on any hotplug
> # vars.
> Can I use the lack of an ACTION var to assume that this call is from
> "mdev -s" (i.e. bootup), whereas if ACTION is present, assume that
> it's a hotplug

Yes, as far as I know (from brain, did not look in current sources).
 
> 2) Get info from /sys
> cat /sys/block/sda/removable
> 0

What do you want to ask with this?

--
Harald
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to