I learned that if the kernel does not understand a parameter, it saves it and passes it to init when performing the user space start.
While e.g. in show parameters of running kernel or How to display kernel command line parameters? you learn that
cat /proc/cmdline shows
Arguments passed to the Linux kernel at boot time
and sysctl --all
shows up all possible kernel parameters
... they do not tell me which of the parameters are actually not processed by the kernel but passed along to init.
How can I check which parameters the kernel actually accepted and which are passed on? How can I display the parameters that were provided to init?
I guess it depends on the actual implementation of init (systemd, upstart, systemvinit)...
/proc/cmdline— and any application,initincluded, can grab and interpret any parameter it likes. See argumentnoxon certain distributions for example. The latter prevents X from starting automatically and is interpreted by a script in /etc/init.d notinititself. – May 10 '15 at 18:14-sto the kernel parameters, the kernel passes the-sto the init program to indicate ..." – langlauf.io May 10 '15 at 18:18cat /proc/1/cmdlineto give me the answer you're looking for. – May 10 '15 at 18:23-sindeed is one of these and it means "boot in single user mode". Refer toman initfor details. I learnt something new today :D . – May 10 '15 at 18:34