Date: Fri, 20 Feb 1998 00:56:57 -0800 From: Mike Smith <mike@smith.net.au> To: Eivind Eklund <eivind@yes.no> Cc: hackers@FreeBSD.ORG Subject: Re: Adding sysctls Message-ID: <199802200856.AAA10235@dingo.cdrom.com> In-Reply-To: Your message of "Fri, 20 Feb 1998 09:45:22 %2B0100." <19980220094522.50936@follo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> I thought turning some of the kernel options into sysctls would be a > forward-looking project, but I've run into a snag: Where do I add > them? > > Example: I'm trying to convert the SPX_HACK option into the sysctl > "<something>.ibcs2_spx_hack". I was planning to make <something> > "user", but it seems "user.*" sysctls are defined in > /sys/kern/kern_mib.c. > > How is the intended direction forward for this? Should I just extend > the "user." space to include this, also breaking the present kern_mib > limitation? SPX_HACK is an iBCS2 option IIRC. If that's the case, it should probably be kern.emulation.ibcs2.net.spx_hack (emulation should perhaps be abi, depending on preferences). -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802200856.AAA10235>