mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 05:17:24 +00:00
If the device or one of its parent devices is marked as removable or
unknown, then the device itself should be considered removable.
For example, consider a device connected to a USB port of a dock:
1. xHCI Host Controller (devpath=0, maxchild=12, removable=unknown)
2. USB2.1 Hub (dock upstream) (devpath=3, maxchild=4, removable=removable)
3. USB2.1 Hub (inside dock) (devpath=3.2, maxchild=4, removable=fixed)
4. USB Device (devpath=3.2.4, maxchild=0, removable=unknown)
Previously, the leaf device was considered as internal. With this
change, the device is considered as external, as there is a removable
parent.
Fixes #43965.
(cherry picked from commit 7580215967)
Files in this directory contain configuration for systemd-udevd.service, a daemon that manages symlinks to device nodes, permissions of devices nodes, emits device events for userspace, and renames network interfaces. See man:udev(7) for an overview of the configuration file format, and man:systemd-udevd.service(8) for a description of service itself. Use 'systemd-analyze cat-config udev/rules.d' to display the effective config.