Documentation ¶
Overview ¶
The cmdline package provides a parser and convenience functions for reading configuration data from /proc/cmdline it's conformant with https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html, though making 'var_name' and 'var-name' equivalent may need to be done separately.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsFlag ¶
ContainsFlag verifies that the kernel cmdline has a flag set
func GetInitFlagMap ¶
GetInitFlagMap gets the init flags as a map
func GetUinitFlagMap ¶
GetUinitFlagMap gets the uinit flags as a map
Types ¶
Click to show internal directories.
Click to hide internal directories.