package
6.0.0+incompatible
Repository: https://github.com/srcup/u-root.git
Documentation: pkg.go.dev

# Functions

ContainsFlag verifies that the kernel cmdline has a flag set.
Flag returns the a flag, and whether it was set.
FullCmdLine returns the full, raw cmdline string.
GetInitFlagMap gets the init flags as a map.
GetUinitFlagMap gets the uinit flags as a map.
NewCmdLine returns a populated CmdLine struct.
NewUpdateFilter return a kernel command line Filter that: removes variables listed in 'removeVar', append extra parameters from the 'appendCmd' and append variables listed in 'reuseVar' using the value from the running kernel.

# Structs

CmdLine lets people view the raw & parsed /proc/cmdline in one place.

# Interfaces

Filter represents and kernel commandline filter.