io.systemd.Udev¶
An interface for controlling systemd-udevd.
| Property | Value |
|---|---|
| Go package | github.com/rossedman/sdvarlink/systemd/latest/udev |
| Socket | /run/udev/io.systemd.Udev |
| Available since | systemd v258 |
| Methods · types · errors | 7 · 0 · 0 |
Methods¶
SetTrace¶
Enable/disable trace logging.
Parameters
| Field | Type | Description |
|---|---|---|
enable |
bool |
Enable/disable. |
SetChildrenMax¶
Sets the maximum number of child processes.
Parameters
| Field | Type | Description |
|---|---|---|
number |
int |
The maximum number of child processes. When 0 is specified, the maximum is determined based on the system resources. |
SetEnvironment¶
Sets the global udev properties.
Parameters
| Field | Type | Description |
|---|---|---|
assignments |
[]string |
An array of global udev property assignments. Each string must be in KEY=VALUE style. |
Revert¶
Revert previously set configurations.
StartExecQueue¶
Starts processing of queued events.
StopExecQueue¶
Stops processing of queued events.
Exit¶
Terminates systemd-udevd. This exists for backward compatibility. Please consider to use 'systemctl stop systemd-udevd.service'.