aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2018-09-24 21:01:51 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-09-25 13:20:17 +0200
commitd1cd3da1e5cf68921b81c04e0d4be571c96976a2 (patch)
treeef02b90d94a6724c4472f9df6cefe8df27108d39
parent706a9a03bb0a745a1f2db1ed632542a2d2af6021 (diff)
downloadbusybox-w32-d1cd3da1e5cf68921b81c04e0d4be571c96976a2.tar.gz
busybox-w32-d1cd3da1e5cf68921b81c04e0d4be571c96976a2.tar.bz2
busybox-w32-d1cd3da1e5cf68921b81c04e0d4be571c96976a2.zip
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>
-rw-r--r--docs/mdev.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/mdev.txt b/docs/mdev.txt
index b24025f7b..b13a0bb93 100644
--- a/docs/mdev.txt
+++ b/docs/mdev.txt
@@ -60,9 +60,9 @@ or
60For example: 60For example:
61 hd[a-z][0-9]* 0:3 660 61 hd[a-z][0-9]* 0:3 660
62 62
63The config file parsing stops at the first matching line. If no line is 63The config file parsing stops at the first matching line unless this line
64matched, then the default of 0:0 660 is used. To set your own default, simply 64starts with "-". If no line is matched, then the default of 0:0 660 is used.
65create your own total match like so: 65To set your own default, simply create your own total match like so:
66 66
67 .* 1:1 777 67 .* 1:1 777
68 68