From owner-cvs-all Mon Jan 25 11:22:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA26726 for cvs-all-outgoing; Mon, 25 Jan 1999 11:22:09 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from dingo.cdrom.com (castles253.castles.com [208.214.165.253]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA26715; Mon, 25 Jan 1999 11:22:05 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id LAA11257; Mon, 25 Jan 1999 11:18:22 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901251918.LAA11257@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Matt Dillon cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_mib.c In-reply-to: Your message of "Mon, 25 Jan 1999 10:26:09 PST." <199901251826.KAA99368@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 25 Jan 1999 11:18:21 -0800 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Er, Matt, this is extremely ill-advised. The kernel's private sysctl space is *not* for use as a persistent environment store. For just about everything that rc.diskless needs, the process environment is more than adequate. If you feel a need to be able to pass this in, it should be seeded out of the kernel environment and set by the loader, then extracted using sysctl under kern.environment. Please consider an alternative method for passing this value around that doesn't involve polluting a totally inappropriate namespace. > dillon 1999/01/25 10:26:09 PST > > Modified files: > sys/kern kern_mib.c > Log: > Add kern.conf_dir sysctl. This is a R+W string used to specify the > directory containing rc.conf.local and rc.local, and possibly other > things in the future. > > This sysctl is used by the diskless startup code and new rc.conf. If > it cannot be found or is empty, the system should revert to using /etc. > > Revision Changes Path > 1.17 +6 -1 src/sys/kern/kern_mib.c > -- \\ 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 cvs-all" in the body of the message