Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 1997 20:13:21 -0700 (PDT)
From:      Simon Shapiro <Shimon@i-Connect.Net>
To:        Mike Smith <mike@smith.net.au>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: /usr/include/sys How To question
Message-ID:  <XFMail.970910201321.Shimon@i-Connect.Net>
In-Reply-To: <199709110107.LAA06133@word.smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.970910201321.Shimon>