Skip to content

KernelParamInit

Defined in: src/module.ts:35

T extends ParamValue = ParamValue

optional changed?: (value, param) => void

Defined in: src/module.ts:45

Called after the parameter has been changed through sysfs

T

KernelParam<T>

void


optional mode?: number

Defined in: src/module.ts:43

The mode of the parameter’s file in /sys/module/<name>/parameters. A mode of 0 means the parameter isn’t exposed through sysfs at all.

0o644

value: T

Defined in: src/module.ts:37

The initial value. Its type determines how the parameter is parsed and formatted.