On 2016-01-28 12:02, Nicolas CARRIER wrote:
Why are init's arguments wipe ?
I had the hope to pass init some arguments, then read them by looking
into /proc/1/cmdline, but no luck...

I don't know the answer to the question about init's arguments being erased, but assuming you're on Linux, you might consider passing the arguments to the kernel at boot time and fetch them from /proc/cmdline instead. As long as the kernel doesn't recognize them, they'll be silently ignored by the kernel.

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

Reply via email to