Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107594651
D32171.id95871.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D32171.id95871.diff
View Options
Index: libexec/rc/rc.d/devmatch
===================================================================
--- libexec/rc/rc.d/devmatch
+++ libexec/rc/rc.d/devmatch
@@ -64,7 +64,7 @@
# names with .ko
devctl freeze
- x=$(echo '#'${devmatch_blocklist:-${devmatch_blacklist}}'#' | \
+ x=$(echo '#'${devmatch_blocklist:-${devmatch_blacklist}}' '$(kenv -q devmatch_blocklist)'#' | \
sed -e "s/ /#/g;s/\.ko#/#/g")
for m in ${list}; do
m="${m%.ko}"
Index: sbin/devmatch/devmatch.8
===================================================================
--- sbin/devmatch/devmatch.8
+++ sbin/devmatch/devmatch.8
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 12, 2020
+.Dd September 28, 2021
.Dt DEVMATCH 8
.Os
.Sh NAME
@@ -66,6 +66,17 @@
.It Fl v Fl -verbose
Produce more verbose output.
.El
+.Pp
+The
+.Xr rc.conf 5
+.Va devmatch_blocklist
+variable is used to block specific modules from being loaded.
+In addition, the
+.Xr rc.d 8
+scripts will add modules listed in the
+.Va devmatch_blocklist
+.Xr kenv 1
+variable.
.Sh SEE ALSO
.Xr devinfo 8 ,
.Xr MODULE_PNP_INFO 9
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 17, 9:28 AM (16 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15837290
Default Alt Text
D32171.id95871.diff (1 KB)
Attached To
Mode
D32171: devmatch: Allow devmatch_blocklist to be set in kenv too
Attached
Detach File
Event Timeline
Log In to Comment