X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev%2Fudev.xml;h=ab82012cee8a92d2c12fa04db0397f86132f621b;hp=a785348551c6d736a98dc06fa52c79053b1167c5;hb=1021e6dfcc339728d83bfa5a3e8cd73bb37dbcef;hpb=d35f72041885f4bb2c531dd3a5a765b276e365e9 diff --git a/udev/udev.xml b/udev/udev.xml index a78534855..ab82012ce 100644 --- a/udev/udev.xml +++ b/udev/udev.xml @@ -71,14 +71,18 @@ Rules files The udev rules are read from the files located in the - default rules directory /lib/udev/rules.d/, - the custom rules directory /etc/udev/rules.d/ - and the temporary rules directory /run/udev/rules.d/. - All rule files are collectively sorted and processed in lexical order, - regardless of the directories in which they live. However, files in - /etc/udev/rules.d/ take precedence over files with - the same name in /lib/udev/rules.d/; this can be - used to ignore a default rules file if needed. + system rules directory /lib/udev/rules.d/, + the local administration directory /etc/udev/rules.d/ + and the volatile runtime directory /run/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 /run + have the highest priority, files in /etc take precedence + over files with the same name in /lib. This can be + used to overwrite a system rules 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. Rule files must have the extension .rules; other extensions are ignored.