From owner-freebsd-hackers Wed Sep 10 20:13:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA20489 for hackers-outgoing; Wed, 10 Sep 1997 20:13:03 -0700 (PDT) Received: from sendero-ppp.i-connect.net (sendero-ppp.i-Connect.Net [206.190.143.100]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id UAA20478 for ; Wed, 10 Sep 1997 20:13:00 -0700 (PDT) Received: (qmail 7043 invoked by uid 1000); 11 Sep 1997 03:13:21 -0000 Message-ID: X-Mailer: XFMail 1.2-alpha [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199709110107.LAA06133@word.smith.net.au> Date: Wed, 10 Sep 1997 20:13:21 -0700 (PDT) Organization: Atlas Telecom From: Simon Shapiro To: Mike Smith Subject: Re: /usr/include/sys How To question Cc: freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi Mike Smith; On 11-Sep-97 you wrote: > > > > How do I integrate opt_dlm.h into sys/dlm.h so that it will reflect the > > proper sizing? If the kernel was built on the target machine, it is > > simple. > > If not, it can be nasty. > > Think about it for a second, and you will realise that what you ask is > impossible. (imagine two kernels built with different values, eg.) I thought about it for few minutes and saw it to be impossible. This is why I posted the question :-) > If you only have a small number of these tunables, make them sysctl > variables. Otherwise, define a structure containing them and a new > ioctl to retrieve it. I have the ioctl to retrieve them. How do I go about making them sysctl variables? --- Sincerely Yours, (Sent on 10-Sep-97, 20:04:17 by XF-Mail) Simon Shapiro Atlas Telecom Senior Architect 14355 SW Allen Blvd., Suite 130 Beaverton OR 97005 Shimon@i-Connect.Net Voice: 503.643.5559, Emergency: 503.799.2313