Date: Tue, 6 Jan 2009 15:10:26 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186829 - head/sys/i386/conf Message-ID: <200901061510.n06FAQ0g034585@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901061510.n06FAQ0g034585>