/usr/share/cagefs-skeleton/usr/lib/udev/rules.d
# Copyright (C) 2009 Red Hat, Inc. All rights reserved. # # This file is part of LVM2. # Udev rules for device-mapper devices. # # These rules create symlinks in /dev/disk directory. # Symlinks that depend on probing filesystem type, # label and uuid are created only if the device is not # suspended. # "add" event is processed on coldplug only! ACTION=="remove", GOTO="dm_end" ENV{DM_UDEV_RULES_VSN}!="?*", GOTO="dm_end" ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}=="1", GOTO="dm_end" SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}" ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}" ENV{DM_SUSPENDED}=="1", ENV{DM_UDEV_PRIMARY_SOURCE_FLAG}=="1", GOTO="dm_import" ENV{DM_NOSCAN}=="1", ENV{DM_UDEV_PRIMARY_SOURCE_FLAG}=="1", GOTO="dm_import" ENV{DM_SUSPENDED}=="1", GOTO="dm_end" ENV{DM_NOSCAN}=="1", GOTO="dm_watch" IMPORT{builtin}="blkid" GOTO="dm_link" LABEL="dm_import" IMPORT{db}="ID_FS_TYPE" IMPORT{db}="ID_FS_USAGE" IMPORT{db}="ID_FS_UUID_ENC" IMPORT{db}="ID_FS_LABEL_ENC" IMPORT{db}="ID_PART_ENTRY_NAME" IMPORT{db}="ID_PART_ENTRY_UUID" IMPORT{db}="ID_PART_ENTRY_SCHEME" IMPORT{db}="ID_PART_GPT_AUTO_ROOT" LABEL="dm_link" ENV{DM_UDEV_LOW_PRIORITY_FLAG}=="1", OPTIONS="link_priority=-100" ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}" ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}" ENV{ID_PART_ENTRY_UUID}=="?*", SYMLINK+="disk/by-partuuid/$env{ID_PART_ENTRY_UUID}" ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", SYMLINK+="disk/by-partlabel/$env{ID_PART_ENTRY_NAME}" ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_GPT_AUTO_ROOT}=="1", SYMLINK+="gpt-auto-root" # Add inotify watch to track changes on this device. # Using the watch rule is not optimal - it generates a lot of spurious # and useless events whenever the device opened for read-write is closed. # The best would be to generate the event directly in the tool changing # relevant information so only relevant events will be processed # (like creating a filesystem, changing filesystem label etc.). # # But let's use this until we have something better... LABEL="dm_watch" OPTIONS+="watch" LABEL="dm_end"
.
Edit
..
Edit
10-dm.rules
Edit
11-dm-parts.rules
Edit
13-dm-disk.rules
Edit
40-elevator.rules
Edit
40-redhat.rules
Edit
40-usb-blacklist.rules
Edit
50-udev-default.rules
Edit
60-autosuspend.rules
Edit
60-block.rules
Edit
60-cdrom_id.rules
Edit
60-drm.rules
Edit
60-evdev.rules
Edit
60-fido-id.rules
Edit
60-input-id.rules
Edit
60-net.rules
Edit
60-persistent-alsa.rules
Edit
60-persistent-input.rules
Edit
60-persistent-storage-tape.rules
Edit
60-persistent-storage.rules
Edit
60-persistent-v4l.rules
Edit
60-sensor.rules
Edit
60-serial.rules
Edit
60-tpm-udev.rules
Edit
61-scsi-sg3_id.rules
Edit
63-fc-wwpn-id.rules
Edit
63-scsi-sg3_symlink.rules
Edit
64-btrfs.rules
Edit
65-scsi-cciss_id.rules
Edit
66-kpartx.rules
Edit
68-del-part-nodes.rules
Edit
70-camera.rules
Edit
70-joystick.rules
Edit
70-memory.rules
Edit
70-mouse.rules
Edit
70-power-switch.rules
Edit
70-touchpad.rules
Edit
70-uaccess.rules
Edit
71-prefixdevname.rules
Edit
71-seat.rules
Edit
73-seat-late.rules
Edit
75-net-description.rules
Edit
75-probe_mtd.rules
Edit
78-sound-card.rules
Edit
80-drivers.rules
Edit
80-net-setup-link.rules
Edit
81-net-dhcp.rules
Edit
84-nm-drivers.rules
Edit
85-nm-unmanaged.rules
Edit
90-nm-thunderbolt.rules
Edit
90-pipewire-alsa.rules
Edit
90-vconsole.rules
Edit
91-drm-modeset.rules
Edit
95-dm-notify.rules
Edit
95-upower-hid.rules
Edit
95-upower-wup.rules
Edit
98-kexec.rules
Edit
99-nfs.rules
Edit
99-systemd.rules
Edit
README
Edit