[PATCH] mdev.txt: explain the meaning of a leading "-"

Denys Vlasenko vda.linux at googlemail.com
Tue Sep 25 11:26:40 UTC 2018


Applied, thanks
On Mon, Sep 24, 2018 at 9:10 PM Martin Kaiser <lists at kaiser.cx> wrote:
>
> From: Martin Kaiser <martin at kaiser.cx>
>
> 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 at kaiser.cx>
> ---
>  docs/mdev.txt | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/docs/mdev.txt b/docs/mdev.txt
> index b24025f..b13a0bb 100644
> --- a/docs/mdev.txt
> +++ b/docs/mdev.txt
> @@ -60,9 +60,9 @@ or
>  For example:
>         hd[a-z][0-9]* 0:3 660
>
> -The config file parsing stops at the first matching line.  If no line is
> -matched, then the default of 0:0 660 is used.  To set your own default, simply
> -create your own total match like so:
> +The config file parsing stops at the first matching line unless this line
> +starts with "-". If no line is matched, then the default of 0:0 660 is used.
> +To set your own default, simply create your own total match like so:
>
>         .* 1:1 777
>
> --
> 2.1.4
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list