Class ModProbe
Methods
index
load
-
Parameters
- request: string
- options: ProbeOptions = {}
- done: Set<string> = ...
Returns Promise<string[]>
loadAtBoot
-
The names
/etc/modules-load.d/*.confasks for, one a line; a failure is reported and does not stop the restParameters
- report: (message: string) => void
Returns Promise<void>
path
-
The file of the installed module a name or alias is for, or undefined if the directory has none
Parameters
- request: string
Returns Promise<string | undefined>
reindex
-
Writes
modules.depandmodules.aliasagain, after a module was added to the directoryReturns Promise<DepmodResult>
unload
-
modprobe -r NAME: unloads NAME, then what it needed that nothing else holdsParameters
- request: string
- options: ProbeOptions = {}
Returns Promise<string[]>
writeBuiltin
-
Writes
modules.builtin:kernel/fs/NAME.kofor each filesystem type the kernel has without a moduleParameters
- fsTypes: string[]
Returns Promise<void>
modprobe NAME: loads what NAME needs, then NAME; returns the lines a dry run or verbose run prints