systemd: update docs

This commit is contained in:
Stefan Saraev 2014-02-20 21:10:55 +02:00
parent 3e10fc4380
commit ff95875756
2 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,10 @@
Hardware Database Files
The hwdb files are read from the files located in the system hwdb directory
/lib/udev/hwdb.d and the user runtime directory /storage/.config/hwdb.d
/usr/lib/udev/hwdb.d and the user runtime directory /storage/.config/hwdb.d
All hwdb files are collectively sorted and processed in lexical order, regardless of
the directories in which they live. However, files with identical filenames
replace each other. /lib/udev/hwdb.d/* takes precedence over /storage/.config/hwdb.d/*
replace each other. /usr/lib/udev/hwdb.d/* takes precedence over /storage/.config/hwdb.d/*
your files must be named 99-xxxxx.hwdb

View File

@ -6,14 +6,14 @@ location as in the case in Debian.
Packages do not generally install rules here, this directory is for
local rules. If you want to override behaviour of package-supplied
rules, which can be found in /lib/udev/rules.d, you can do one of
rules, which can be found in /usr/lib/udev/rules.d, you can do one of
two things:
1) Write your own rules in this directory that assign the name,
symlinks, permissions, etc. that you want. Pick a number higher
than the rules you want to override, and yours will be used.
2) Copy the file from /lib/udev/rules.d and edit it here; you
2) Copy the file from /usr/lib/udev/rules.d and edit it here; you
should generally only do this if you want to prevent a program
from being run.
@ -21,5 +21,5 @@ two things:
If the ordering of files in this directory are not important to you,
it's recommended that you simply name your files "descriptive-name.rules"
such that they are processed AFTER all numbered rules in both this
directory and /lib/udev/rules.d and thus override anything set there.
directory and /usr/lib/udev/rules.d and thus override anything set there.