kernel

package
v0.1.0-alpha.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2019 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseKernelBootParameters

func ParseKernelBootParameters(parameters []byte) (parsed map[string]string)

ParseKernelBootParameters parses kernel boot time parameters

Ref: http://man7.org/linux/man-pages/man7/bootparam.7.html

func ParseProcCmdline

func ParseProcCmdline() (cmdline map[string]string, err error)

ParseProcCmdline parses /proc/cmdline and returns a map reprentation of the kernel parameters.

func ReadProcCmdline

func ReadProcCmdline() (cmdlineBytes []byte, err error)

ReadProcCmdline reads /proc/cmdline.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL