1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00
systemd/rules.d
Lennart Poettering 5ac52d1f7b udev: add /dev/loop/ symlinks
This adds symlinks that allow accessing loopback block devices via stable
names that reference their backing block devices, make the unpredictable
naming of loopback devices less of an issue.

Example:

1. Create a loopback block device for a file $F

   losetup --find $F

2. Reference the backing block device via its inode:

   L="$(stat -c '/dev/loop/by-inode/%Hd:%Ld-%i' $F)"
   fdisk $L

In the above the loop device name (which might be /dev/loop47 or any
other name) is not used at all.
2023-03-09 16:41:26 +01:00
..
50-udev-default.rules.in udev/rules,hwdb: filter out mostly meaningless default strings 2022-09-06 03:38:09 +09:00
60-autosuspend.rules Add support to set autosuspend delay via hwdb 2022-05-09 21:14:12 -05:00
60-block.rules
60-cdrom_id.rules
60-drm.rules
60-evdev.rules rules: add missing line continuation 2022-12-21 09:52:07 +01:00
60-fido-id.rules rules: Move ID_SMARTCARD_READER definition to a <70 configuration. 2021-03-03 15:18:55 +01:00
60-infiniband.rules udev/rules: add by-path and by-ibdev links to infiniband verbs 2022-10-14 12:18:08 +09:00
60-input-id.rules
60-persistent-alsa.rules
60-persistent-input.rules udev: add i2c to 60-persistent-input.rules for by-path (#18808) 2021-03-02 19:56:06 +10:00
60-persistent-storage-tape.rules udev: 60-persistent-storage-tape.rules: handle duplicate device ID 2022-03-08 23:12:10 +09:00
60-persistent-storage.rules.in udev: add /dev/loop/ symlinks 2023-03-09 16:41:26 +01:00
60-persistent-v4l.rules
60-sensor.rules udev: hwdb: Add rules to match cros-ec-accel by 'location' sysfs file 2022-08-18 21:17:19 +03:00
60-serial.rules udev: add safe guard for setting by-id symlink 2022-11-03 09:59:54 +09:00
64-btrfs.rules.in meson: use jinja2 for rules.d templates 2021-05-19 10:24:43 +09:00
70-camera.rules hwdb: Tag IR cameras as such 2021-10-27 00:14:41 +02:00
70-joystick.rules
70-memory.rules udev: Extract RAM properties from DMI information 2020-12-16 18:32:29 +01:00
70-mouse.rules
70-power-switch.rules meson: move udev rules to rules.d/ 2022-05-05 11:51:44 +02:00
70-touchpad.rules
70-uaccess.rules.in hwdb: Allow users access to USB serial for analysers 2022-08-09 18:12:19 +02:00
71-seat.rules.in meson: move udev rules to rules.d/ 2022-05-05 11:51:44 +02:00
73-seat-late.rules.in meson: move udev rules to rules.d/ 2022-05-05 11:51:44 +02:00
75-net-description.rules
75-probe_mtd.rules
78-sound-card.rules
80-drivers.rules udev-builtin-kmod: support to run without arguments 2022-10-14 21:32:24 +09:00
80-net-setup-link.rules udev: re-assign ID_NET_DRIVER=, ID_NET_LINK_FILE=, ID_NET_NAME= properties on non-'add' uevent 2020-09-15 11:29:35 +09:00
81-net-dhcp.rules network: enable DHCP broadcast flag if required by interface 2021-04-21 18:11:18 +02:00
90-vconsole.rules.in meson: move vconsole rules to rules.d/ 2022-05-05 11:51:44 +02:00
99-systemd.rules.in rules: import previous SYSTEMD_READY state for suspended DM devices and skip other rules 2022-08-19 20:13:47 +01:00
meson.build rules: do not use blkid builtin if built without blkid support 2023-03-08 18:55:40 +00:00
README docs: Fixing typo in systemd.device man page and README. 2021-09-29 22:18:38 +01:00

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.