]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If we're passed an argument, then treat it as a single NOMATCH event
authorimp <imp@FreeBSD.org>
Sat, 17 Feb 2018 06:57:21 +0000 (06:57 +0000)
committerimp <imp@FreeBSD.org>
Sat, 17 Feb 2018 06:57:21 +0000 (06:57 +0000)
commit9ae5cff01b39dfaf24e4eb77d1e35e9290b3b178
tree9f465dbc2c458c05b16392f0070c39c8561b23db
parent1ebd4793adf53c4f5353e39e13f93dfb12b62efb
If we're passed an argument, then treat it as a single NOMATCH event
to parse rather than searching for all events. Pass with new -p arg to
devmatch. devmatch will use that one event rather than walking the
entire tree.

kldload will stop at the first failure. So we need to loop.  Also,
symbolic links may confused kldload into trying (and failing) to load
multiple modules at once, so guard against that.

Noticed by: hps (with similar patch)
Sponsored by: Netflix
etc/rc.d/devmatch