kernel boot parameters -> init environment
phil-news-nospam_at_ipal.net
Date: 04/26/05
- Next message: Ryan Reich: "Re: kernel boot parameters -> init environment"
- Previous message: Ryan Reich: "Re: scanning sysfs to populate /dev"
- Next in thread: Ryan Reich: "Re: kernel boot parameters -> init environment"
- Reply: Ryan Reich: "Re: kernel boot parameters -> init environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Apr 2005 01:10:15 GMT
The kernel boot parameters are supposed to be supplied to the init
program as environment variables. But it seems that the ones the
kernel already knows about are removed from that environment. Is
there a reason for this? Would you suspect problems if the kernel
were hacked to not do this, and pass every parameter?
I want to access to some parameters like root= in my early userspace
init program to have it do the mounting of the root device, if the
parameter is specified (other things if not).
-- ----------------------------------------------------------------------------- | Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | -----------------------------------------------------------------------------
- Next message: Ryan Reich: "Re: kernel boot parameters -> init environment"
- Previous message: Ryan Reich: "Re: scanning sysfs to populate /dev"
- Next in thread: Ryan Reich: "Re: kernel boot parameters -> init environment"
- Reply: Ryan Reich: "Re: kernel boot parameters -> init environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|