mdev.txt: explain the meaning of a leading "-"
If a line in mdev.conf starts with "-", parsing will continue even if a match is found in that line. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
706a9a03bb
commit
d1cd3da1e5
@ -60,9 +60,9 @@ or
|
|||||||
For example:
|
For example:
|
||||||
hd[a-z][0-9]* 0:3 660
|
hd[a-z][0-9]* 0:3 660
|
||||||
|
|
||||||
The config file parsing stops at the first matching line. If no line is
|
The config file parsing stops at the first matching line unless this line
|
||||||
matched, then the default of 0:0 660 is used. To set your own default, simply
|
starts with "-". If no line is matched, then the default of 0:0 660 is used.
|
||||||
create your own total match like so:
|
To set your own default, simply create your own total match like so:
|
||||||
|
|
||||||
.* 1:1 777
|
.* 1:1 777
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user