Am 15.04.2011 12:22, schrieb Dave Reisner: > Cool, good to see a breakdown of how the cmdline parameters are passed. > I didn't come across any of this in my googling adventures.
Part of it is from the kernel documentation. Part of it is guesses based on what I've seen. > I do notice, > however, that only simple words (not variable decls) at the _end_ of the > cmdline are passed on as positional parameters to init. Anything else > seems to be ignored. I think everything after init= or rdinit= is passed. If neither init or rdinit is specified, you might be right with your assumption. I didn't investigate this too far, as we simply pass on those arguments with "$@" to init. (Btw, init= is another variable that (like root=) isn't passed by the kernel.)
signature.asc
Description: OpenPGP digital signature
