[TriLUG] Kernel arguments in a script

Justis Peters jtrilug at indythinker.com
Tue Feb 9 17:43:07 EST 2010


Chander Ganesan wrote:
> Anyone know how I can grab kernel arguments passed to the kernel from 
> within an init root disk?  For example, passing in "password=blah" and 
> having a script use the password for something.
On many systems, you can find this info in /proc/cmdline

Kind regards,
Justis



More information about the TriLUG mailing list