Date: Thu, 11 Sep 1997 11:07:07 +1000 From: Mike Smith <mike@smith.net.au> To: Simon Shapiro <Shimon@i-Connect.Net> Cc: freebsd-hackers@freebsd.org Subject: Re: /usr/include/sys How To question Message-ID: <199709110107.LAA06133@word.smith.net.au> In-Reply-To: Your message of "Wed, 10 Sep 1997 16:50:31 MST." <XFMail.970910165031.Shimon@i-Connect.Net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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.) 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. mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709110107.LAA06133>