From 7e8ca741ca04c6b2e5cbe5ce9d9c4e76f2fcb7c7 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Mon, 13 Sep 2004 14:58:27 +0000 Subject: [PATCH] Make kern.geom.debugflags sysctl tunable from /boot/loader.conf. It will help to debug problems when booting. Approved by: phk --- sys/geom/geom_kern.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/geom/geom_kern.c b/sys/geom/geom_kern.c index a346b6a0d8f..762a1fd6986 100644 --- a/sys/geom/geom_kern.c +++ b/sys/geom/geom_kern.c @@ -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, "");