[BusyBox] Passing arguments to init when loading the kernel?

Mark Buckaway markb at platespin.com
Tue Feb 20 14:09:17 UTC 2001


Yes, just pass whatever on the kernel command line and make sure it does
not conflict what any kernel parameter. It will be made into a env.
variable by the kernel and get passed to any program run by the kernel
(linuxrc, init, whatever).

Modifying a startup script to read this and process it would be a better
idea that modifying init.

Mark


-----Original Message-----
From:	Eric Desjardins
Sent:	Tue 2/20/2001 08:15
To:	'busybox at busybox.net'
Cc:	
Subject:	[BusyBox] Passing arguments to init when loading the
kernel?


Hi,

I wonder if it would be possible to pass arguments to init by passing
arguments to the kernel.  I would like to pass the initial loading
script on
my system.  I look up the init.c and it doesn't seems so.

Would it be a good idea?  

Eric


_______________________________________________
busybox mailing list
busybox at busybox.net
http://busybox.net/mailman/listinfo/busybox










More information about the busybox mailing list