From owner-freebsd-hackers Mon Apr 15 12:10:23 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id AECCA37B400 for ; Mon, 15 Apr 2002 12:10:19 -0700 (PDT) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16xBvk-0004aL-00 for hackers@FreeBSD.org; Mon, 15 Apr 2002 21:14:24 +0200 From: Sheldon Hearn To: hackers@FreeBSD.org Subject: config(8) option names Date: Mon, 15 Apr 2002 21:14:24 +0200 Message-ID: <17628.1018898064@axl.seasidesoftware.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi folks, Is there a way to specify option name translation in config(8)s option files? For example, I'd like this in my kernel config: options IPFILTER_STATE_MAX 300007 but I want #defined STATE_MAX (300007) to end up in opt_ipfilter.h assuming I have something like IPFILTER_STATE_MAX opt_ipfilter.h in src/sys/conf/options. I could just call the kernel option STATE_MAX, but the kernel config file configures the entire kernel, and STATE_MAX doesn't make it clear which subsystem of the kernel will be affected. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message