From owner-cvs-sys Mon Mar 4 03:27:37 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA22895 for cvs-sys-outgoing; Mon, 4 Mar 1996 03:27:37 -0800 (PST) Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id DAA22880 Mon, 4 Mar 1996 03:27:29 -0800 (PST) Received: from localhost.DIALix.oz.au (peter@localhost.DIALix.oz.au [127.0.0.1]) by jhome.DIALix.COM (8.7.4/8.7.3) with SMTP id TAA02681; Mon, 4 Mar 1996 19:09:30 +0800 (WST) Message-Id: <199603041109.TAA02681@jhome.DIALix.COM> X-Authentication-Warning: jhome.DIALix.COM: Host peter@localhost.DIALix.oz.au [127.0.0.1] didn't use HELO protocol To: J Wunsch cc: gpalmer@freefall.freebsd.org (Gary Palmer), CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/conf LINT src/sys/kern subr_prf.c In-reply-to: Your message of "Sat, 02 Mar 1996 16:29:12 +0100." <199603021529.QAA01202@uriah.heep.sax.de> Date: Mon, 04 Mar 1996 19:09:30 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >As Gary Palmer wrote: > >> Modified: sys/i386/conf LINT >> sys/kern subr_prf.c >> Log: >> Add a new option: DDB_UNATTENDED. Stops machine dropping into DDB >> when it panics, but leaving activation of DDB from the console >> unaffected. > >I would have loved to see a sysctl variable for this instead. This >way, i don't need a dozen of different kernels, but could for example >disable DDB fallbacks before leaving for a vacation or longer business >trip. > >-- >cheers, J"org I agree.. It is amazingly simple to add sysctl variables after PHK's upgrade of the sysctl code. It's now as simple as adding two (or three) lines to the code.. One #include, an int variable and a SYSCTL_INT(.. OID_AUTO..) line. Cheers, -Peter