Some questions about mdev
support at agits.at
Mon Aug 16 18:56:25 UTC 2010
Denys Vlasenko wrote:
> Just knowing parameters is not enough. What is passed in the environment?
> In other words, I am not only interested in output of
> echo "Params: $*"
> command, but also I want to know what "env | sort" says.
> Here's the complete debugging script again:
> echo >>/tmp/mdev.trace
> date >>/tmp/mdev.trace
> echo "Params: $*" >>/tmp/mdev.trace
> env | sort >>/tmp/mdev.trace
> exec /sbin/mdev "$@"
Yah, sorry, I copied the script but didn't pay much attention to the env
line. Turns out my busybox wasn't compiled with support for the env and
exec applet, so that's why the script was failing. Will recompile
now and test again then. Sorry for the confusion.
More information about the busybox