From owner-svn-src-head@FreeBSD.ORG Tue Jan 6 15:10:26 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C3DF106566B; Tue, 6 Jan 2009 15:10:26 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4A4338FC0C; Tue, 6 Jan 2009 15:10:26 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n06FAQu6034586; Tue, 6 Jan 2009 15:10:26 GMT (envelope-from luigi@svn.freebsd.org) Received: (from luigi@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n06FAQ0g034585; Tue, 6 Jan 2009 15:10:26 GMT (envelope-from luigi@svn.freebsd.org) Message-Id: <200901061510.n06FAQ0g034585@svn.freebsd.org> From: Luigi Rizzo Date: Tue, 6 Jan 2009 15:10:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186829 - head/sys/i386/conf X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 15:10:26 -0000 Author: luigi Date: Tue Jan 6 15:10:26 2009 New Revision: 186829 URL: http://svn.freebsd.org/changeset/base/186829 Log: Add a reference to the "env" kernel config option in the GENERIC file, as this is very useful e.g. in diskless configurations and barely documented anywhere else. MFC after: 3 days Modified: head/sys/i386/conf/GENERIC Modified: head/sys/i386/conf/GENERIC ============================================================================== --- head/sys/i386/conf/GENERIC Tue Jan 6 14:57:39 2009 (r186828) +++ head/sys/i386/conf/GENERIC Tue Jan 6 15:10:26 2009 (r186829) @@ -26,6 +26,12 @@ ident GENERIC # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. +# Use the following to compile in values accessible to the kernel +# through getenv() (or kenv(1) in userland). The format of the file +# is 'variable=value' , same as for hints files. +# +# env "my_kenv_variables" + makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler