mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-22 16:44:32 +01:00
Make kern.geom.debugflags sysctl tunable from /boot/loader.conf.
It will help to debug problems when booting. Approved by: phk
This commit is contained in:
parent
8f6f154ee8
commit
7e8ca741ca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135151
@ -220,6 +220,7 @@ SYSCTL_PROC(_kern_geom, OID_AUTO, conftxt, CTLTYPE_STRING|CTLFLAG_RD,
|
||||
0, 0, sysctl_kern_geom_conftxt, "",
|
||||
"Dump the GEOM config in txt");
|
||||
|
||||
TUNABLE_INT("kern.geom.debugflags", &g_debugflags);
|
||||
SYSCTL_INT(_kern_geom, OID_AUTO, debugflags, CTLFLAG_RW,
|
||||
&g_debugflags, 0, "");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user