why are init's arguments wiped ?
Jody Bruchon
jody at jodybruchon.com
Thu Jan 28 17:05:02 UTC 2016
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
More information about the busybox
mailing list