Question on mdev's custom command invocation

Peter Korsgaard peter at korsgaard.com
Thu Nov 17 12:09:48 UTC 2016


On Thu, Nov 17, 2016 at 11:02 AM, Didier Kryn <kryn at in2p3.fr> wrote:
>> I'm assuming you already use environment variables in your script,
>> e.g. $MDEV, $SEQNUM, etc Maybe you missed $ACTION, sounds like what
>> you're looking for.
>
>     Good to know that; https://git.busybox.net/busybox/plain/docs/mdev.txt
> only mentions $MDEV .

That is because those environment variables comes from the kernel when
it invokes the hotplug helper (mdev):

http://lxr.free-electrons.com/source/Documentation/driver-model/porting.txt#L375

--
Bye, Peter Korsgaard


More information about the busybox mailing list