Is it just for convenience or is there some reason for it?
Example:
cat /etc/udev/conf.d/rules.d/98-kexec.rules
Is it just for convenience or is there some reason for it?
Example:
cat /etc/udev/conf.d/rules.d/98-kexec.rules
You could read why directly from the manual.
RULES FILES
The udev rules are read from the files located in the system rules directory /usr/lib/udev/rules.d, the volatile runtime directory /run/udev/rules.d and the local administration directory /etc/udev/rules.d. All rules files are collectively sorted and processed in lexical order, regardless of the directories in which they live. However, files with identical file names replace each other. Files in /etc have the highest priority, files in /run take precedence over files with the same name in /lib. This can be used to override a system-supplied rules file with a local file if needed; a symlink in /etc with the same name as a rules file in /lib, pointing to /dev/null, disables the rules file entirely.
udevadm test ...
to verify which rules are loaded for that device and action applied on it.
– user.dz
Nov 02 '21 at 18:20