]>
Commit | Line | Data |
---|---|---|
6b493a20 KS |
1 | udev 057 |
2 | ======== | |
e4388fb3 | 3 | All rules are applied now, but only the first matching rule with a NAME-key |
16eb35d1 KS |
4 | will be applied. All later rules with NAME-key are completely ignored. This |
5 | way system supplied symlinks or permissions gets applied to user-defined | |
6 | naming rules. | |
7 | ||
e4388fb3 KS |
8 | Note: |
9 | Please check your rules setup, if you may need to add OPTIONS="last_rule" | |
10 | to some rules, to keep the old behavior. | |
11 | ||
12 | The rules are read on "remove"-events too. That makes is possible to match | |
13 | with keys that are available on remove (KERNEL, SUBSYSTEM, ID, ENV, ...) to | |
16eb35d1 KS |
14 | instruct udev to ignore an event (OPTIONS="ignore_device"). |
15 | The new ACTION-key may be used to let a rule act only at a "remove"-event. | |
e4388fb3 KS |
16 | |
17 | The new RUN-key supports rule-based execution of programs after device-node | |
16eb35d1 KS |
18 | handling. This is meant as a general replacement for the dev.d/-directories |
19 | to give fine grained control over the execution of programs. | |
e4388fb3 KS |
20 | |
21 | The %s{}-sysfs format char replacement values are searched at any of the | |
22 | devices in the device chain now, not only at the class-device. | |
23 | ||
6b493a20 KS |
24 | We support log priority levels now. The value udev_log in udev.conf is used |
25 | to determine what is printed to syslog. This makes it possible to | |
26 | run a version with compiled-in debug messages in a production environment | |
27 | which is sometimes needed to find a bug. | |
28 | It is still possible to supress the inclusion of _any_ syslog usage with | |
29 | USE_LOG=false to create the smallest possible binaries if needed. | |
30 | The configured udev_log value can be overridden with the environment variable | |
31 | UDEV_LOG. | |
32 | ||
7f7ae03a KS |
33 | udev 056 |
34 | ======== | |
35 | Possible use of a system-wide klibc: | |
16eb35d1 | 36 | make USE_KLIBC=true KLCC=/usr/bin/klcc all |
7f7ae03a KS |
37 | will link against an external klibc and our own version will be ignored. |
38 | ||
143139a1 KS |
39 | udev 055 |
40 | ======== | |
41 | We support an unlimited count of symlinks now. | |
42 | ||
43 | If USE_STATIC=true is passed to a glibc build, we link statically and use | |
44 | a built-in userdb parser to resolve user and group names. | |
45 | ||
fc90ce81 | 46 | The PLACE= key is gone. It can be replaced by an ID= for a long time, cause |
143139a1 KS |
47 | we walk up the chain of physical devices to find a match. |
48 | ||
28ce66de | 49 | The KEY="<value>" format supports '=', '==', '!=,' , '+=' now. This makes it |
38285d23 KS |
50 | easy to skip certain attribute matches without composing rules with weird |
51 | character class negations like: | |
28ce66de | 52 | KERNEL="[!s][!c][!d]*" |
38285d23 | 53 | this can now be replaced with: |
28ce66de | 54 | KERNEL!="scd*" |
38285d23 KS |
55 | The current simple '=' is still supported, and should work as it does today, |
56 | but existing rules should be converted if possible, to be better readable. | |
57 | ||
fc90ce81 KS |
58 | We have new ENV{}== key now, to match against a maximum of 5 environment |
59 | variables. | |
0e33828a KS |
60 | |
61 | udevstart is its own binary again, cause we don't need co carry this araound | |
62 | with every forked event. |