head 1.9; access; symbols cjep_sun2x:1.9.0.24 cjep_sun2x-base:1.9 cjep_staticlib_x-base1:1.9 cjep_staticlib_x:1.9.0.22 cjep_staticlib_x-base:1.9 phil-wifi-20200421:1.9 phil-wifi-20200411:1.9 phil-wifi-20200406:1.9 pgoyette-compat-merge-20190127:1.9 pgoyette-compat-20190127:1.9 pgoyette-compat-20190118:1.9 pgoyette-compat-1226:1.9 pgoyette-compat-1126:1.9 pgoyette-compat-1020:1.9 pgoyette-compat-0930:1.9 pgoyette-compat-0906:1.9 pgoyette-compat-0728:1.9 pgoyette-compat-0625:1.9 pgoyette-compat-0521:1.9 pgoyette-compat-0502:1.9 pgoyette-compat-0422:1.9 pgoyette-compat-0415:1.9 pgoyette-compat-0407:1.9 pgoyette-compat-0330:1.9 pgoyette-compat-0322:1.9 pgoyette-compat-0315:1.9 pgoyette-compat:1.9.0.20 pgoyette-compat-base:1.9 perseant-stdc-iso10646:1.9.0.18 perseant-stdc-iso10646-base:1.9 prg-localcount2-base3:1.9 prg-localcount2-base2:1.9 prg-localcount2-base1:1.9 prg-localcount2:1.9.0.16 prg-localcount2-base:1.9 pgoyette-localcount-20170426:1.9 bouyer-socketcan-base1:1.9 pgoyette-localcount-20170320:1.9 bouyer-socketcan:1.9.0.14 bouyer-socketcan-base:1.9 pgoyette-localcount-20170107:1.9 pgoyette-localcount-20161104:1.9 localcount-20160914:1.9 pgoyette-localcount-20160806:1.9 pgoyette-localcount-20160726:1.9 pgoyette-localcount:1.9.0.12 pgoyette-localcount-base:1.9 netbsd-5-2-3-RELEASE:1.8 netbsd-5-1-5-RELEASE:1.8 yamt-pagecache-base9:1.9 yamt-pagecache-tag8:1.9 tls-earlyentropy:1.9.0.8 tls-earlyentropy-base:1.9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.9 riastradh-drm2-base3:1.9 netbsd-5-2-2-RELEASE:1.8 netbsd-5-1-4-RELEASE:1.8 netbsd-5-2-1-RELEASE:1.8 netbsd-5-1-3-RELEASE:1.8 agc-symver:1.9.0.10 agc-symver-base:1.9 tls-maxphys-base:1.9 yamt-pagecache-base8:1.9 netbsd-5-2:1.8.0.12 yamt-pagecache-base7:1.9 netbsd-5-2-RELEASE:1.8 netbsd-5-2-RC1:1.8 yamt-pagecache-base6:1.9 yamt-pagecache-base5:1.9 yamt-pagecache-base4:1.9 netbsd-5-1-2-RELEASE:1.8 netbsd-5-1-1-RELEASE:1.8 yamt-pagecache-base3:1.9 yamt-pagecache-base2:1.9 yamt-pagecache:1.9.0.6 yamt-pagecache-base:1.9 bouyer-quota2-nbase:1.9 bouyer-quota2:1.9.0.4 bouyer-quota2-base:1.9 matt-nb5-mips64-premerge-20101231:1.8 matt-nb5-pq3:1.8.0.10 matt-nb5-pq3-base:1.8 netbsd-5-1:1.8.0.8 netbsd-5-1-RELEASE:1.8 netbsd-5-1-RC4:1.8 matt-nb5-mips64-k15:1.8 netbsd-5-1-RC3:1.8 netbsd-5-1-RC2:1.8 netbsd-5-1-RC1:1.8 netbsd-5-0-2-RELEASE:1.8 matt-nb5-mips64-premerge-20091211:1.8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.8 matt-nb4-mips64-k7-u2a-k9b:1.8 matt-nb5-mips64-u1-k1-k5:1.8 matt-nb5-mips64:1.8.0.6 netbsd-5-0-1-RELEASE:1.8 jym-xensuspend-nbase:1.9 netbsd-5-0:1.8.0.4 netbsd-5-0-RELEASE:1.8 netbsd-5-0-RC4:1.8 netbsd-5-0-RC3:1.8 netbsd-5-0-RC2:1.8 jym-xensuspend:1.9.0.2 jym-xensuspend-base:1.9 netbsd-5-0-RC1:1.8 netbsd-5:1.8.0.2 netbsd-5-base:1.8 matt-mips64-base2:1.8 matt-mips64:1.7.0.38 netbsd-4-0-1-RELEASE:1.7 wrstuden-revivesa-base-3:1.8 wrstuden-revivesa-base-2:1.8 wrstuden-fixsa-newbase:1.7 wrstuden-revivesa-base-1:1.8 yamt-pf42-base4:1.8 yamt-pf42-base3:1.8 hpcarm-cleanup-nbase:1.7 yamt-pf42-baseX:1.7 yamt-pf42-base2:1.7 wrstuden-revivesa:1.7.0.36 wrstuden-revivesa-base:1.8 yamt-pf42:1.7.0.34 yamt-pf42-base:1.7 mjf-devfs2:1.7.0.32 mjf-devfs2-base:1.8 keiichi-mipv6-nbase:1.7 keiichi-mipv6:1.7.0.30 keiichi-mipv6-base:1.7 matt-armv6-nbase:1.7 matt-armv6-prevmlocking:1.7 wrstuden-fixsa-base-1:1.7 netbsd-4-0:1.7.0.28 netbsd-4-0-RELEASE:1.7 cube-autoconf:1.7.0.26 cube-autoconf-base:1.7 netbsd-4-0-RC5:1.7 netbsd-4-0-RC4:1.7 netbsd-4-0-RC3:1.7 netbsd-4-0-RC2:1.7 netbsd-4-0-RC1:1.7 matt-armv6:1.7.0.24 matt-armv6-base:1.7 matt-mips64-base:1.7 hpcarm-cleanup:1.7.0.22 hpcarm-cleanup-base:1.7 netbsd-3-1-1-RELEASE:1.7 netbsd-3-0-3-RELEASE:1.7 wrstuden-fixsa:1.7.0.20 wrstuden-fixsa-base:1.7 abandoned-netbsd-4-base:1.7 abandoned-netbsd-4:1.7.0.14 netbsd-3-1:1.7.0.16 netbsd-3-1-RELEASE:1.7 netbsd-3-0-2-RELEASE:1.7 netbsd-3-1-RC4:1.7 netbsd-3-1-RC3:1.7 netbsd-3-1-RC2:1.7 netbsd-3-1-RC1:1.7 netbsd-4:1.7.0.18 netbsd-4-base:1.7 chap-midi-nbase:1.7 netbsd-3-0-1-RELEASE:1.7 chap-midi:1.7.0.12 chap-midi-base:1.7 netbsd-3-0:1.7.0.10 netbsd-3-0-RELEASE:1.7 netbsd-3-0-RC6:1.7 netbsd-3-0-RC5:1.7 netbsd-3-0-RC4:1.7 netbsd-3-0-RC3:1.7 netbsd-3-0-RC2:1.7 netbsd-3-0-RC1:1.7 netbsd-2-0-3-RELEASE:1.7 netbsd-2-1:1.7.0.8 netbsd-2-1-RELEASE:1.7 netbsd-2-1-RC6:1.7 netbsd-2-1-RC5:1.7 netbsd-2-1-RC4:1.7 netbsd-2-1-RC3:1.7 netbsd-2-1-RC2:1.7 netbsd-2-1-RC1:1.7 netbsd-2-0-2-RELEASE:1.7 netbsd-3:1.7.0.6 netbsd-3-base:1.7 netbsd-2-0-1-RELEASE:1.7 netbsd-2:1.7.0.4 netbsd-2-base:1.7 netbsd-2-0-RELEASE:1.7 netbsd-2-0-RC5:1.7 netbsd-2-0-RC4:1.7 netbsd-2-0-RC3:1.7 netbsd-2-0-RC2:1.7 netbsd-2-0-RC1:1.7 netbsd-2-0:1.7.0.2 netbsd-2-0-base:1.7 netbsd-1-6-PATCH002-RELEASE:1.6 netbsd-1-6-PATCH002:1.6 netbsd-1-6-PATCH002-RC4:1.6 netbsd-1-6-PATCH002-RC3:1.6 netbsd-1-6-PATCH002-RC2:1.6 netbsd-1-6-PATCH002-RC1:1.6 netbsd-1-6-PATCH001:1.6 netbsd-1-6-PATCH001-RELEASE:1.6 netbsd-1-6-PATCH001-RC3:1.6 netbsd-1-6-PATCH001-RC2:1.6 netbsd-1-6-PATCH001-RC1:1.6 fvdl_fs64_base:1.7 netbsd-1-6-RELEASE:1.6 netbsd-1-6-RC3:1.6 netbsd-1-6-RC2:1.6 netbsd-1-6-RC1:1.6 netbsd-1-6:1.6.0.2 netbsd-1-6-base:1.6 netbsd-1-5-PATCH003:1.4 netbsd-1-5-PATCH002:1.4 netbsd-1-5-PATCH001:1.4 netbsd-1-5-RELEASE:1.4 netbsd-1-5-BETA2:1.4 netbsd-1-5-BETA:1.4 netbsd-1-4-PATCH003:1.4 netbsd-1-5-ALPHA2:1.4 netbsd-1-5:1.4.0.10 netbsd-1-5-base:1.4 minoura-xpg4dl:1.4.0.8 minoura-xpg4dl-base:1.4 netbsd-1-4-PATCH002:1.4 wrstuden-devbsize-19991221:1.4 wrstuden-devbsize:1.4.0.6 wrstuden-devbsize-base:1.4 comdex-fall-1999:1.4.0.4 comdex-fall-1999-base:1.4 netbsd-1-4-PATCH001:1.4 netbsd-1-4-RELEASE:1.4 netbsd-1-4:1.4.0.2 netbsd-1-4-base:1.4 netbsd-1-3-PATCH003:1.3 netbsd-1-3-PATCH003-CANDIDATE2:1.3 netbsd-1-3-PATCH003-CANDIDATE1:1.3 netbsd-1-3-PATCH003-CANDIDATE0:1.3 netbsd-1-3-PATCH002:1.3 netbsd-1-3-PATCH001:1.3 netbsd-1-3-RELEASE:1.3 netbsd-1-3-BETA:1.3 netbsd-1-3:1.3.0.2 netbsd-1-3-base:1.3; locks; strict; comment @# @; 1.9 date 2008.11.12.12.35.53; author ad; state dead; branches; next 1.8; 1.8 date 2008.05.29.14.51.25; author mrg; state Exp; branches; next 1.7; 1.7 date 2002.10.02.11.15.18; author wiz; state Exp; branches 1.7.32.1 1.7.34.1 1.7.36.1; next 1.6; 1.6 date 2001.06.05.12.38.32; author wiz; state Exp; branches; next 1.5; 1.5 date 2000.11.08.01.37.52; author lukem; state Exp; branches; next 1.4; 1.4 date 99.03.17.20.19.46; author garbled; state Exp; branches; next 1.3; 1.3 date 97.10.10.05.40.03; author mrg; state Exp; branches; next 1.2; 1.2 date 97.07.14.11.56.31; author drochner; state Exp; branches; next 1.1; 1.1 date 97.01.05.11.50.16; author mrg; state Exp; branches; next ; 1.7.32.1 date 2008.06.02.13.21.40; author mjf; state Exp; branches; next ; 1.7.34.1 date 2008.06.04.02.04.38; author yamt; state Exp; branches; next ; 1.7.36.1 date 2008.06.23.04.30.01; author wrstuden; state Exp; branches; next ; desc @@ 1.9 log @Remove LKMs and switch to the module framework, pass 1. Proposed on tech-kern@@. @ text @.\" $NetBSD: lkm.conf.5,v 1.8 2008/05/29 14:51:25 mrg Exp $ .\" .\" Copyright (c) 1996 Matthew R. Green .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .Dd November 8, 2000 .Dt LKM.CONF 5 .Os .Sh NAME .Nm lkm.conf .Nd loadable kernel module configuration file .Sh DESCRIPTION The .Nm file specifies loadable kernel modules, see .Xr lkm 4 , that are to be loaded a boot time. The .Nm file is processed by .Pa /etc/rc.lkm at system boot time, if it exists. .Pp Each line of the file is of the form .Dl path options entry postinstall output when .Pp Except for the .Em path , all other fields can be "-" to indicate empty. .Pp The .Em path is either an absolute pathname, or the name of a file in .Pa /lkm or .Pa /usr/lkm that is the LKM to be loaded. .Pp The .Em options are some combination of the -d and -v options to .Xr modload 8 . .Pp The .Em entry is the C symbol to call to initialize the module, defaulting to .Fn xxxinit . .Pp The .Em postinstall script is run after the LKM is installed. .Pp The output of the .Xr ld 1 command is stored in .Em output . .Pp The .Em when field specifies at which time in the startup process the LKM is loaded. There are three predefined values which correspond to three points in the processing of the system startup script .Pa /etc/rc : .Bl -tag -width XXX .It BEFORENET Before networking is started. This works only if the .Pa /usr file system can already be mounted at this time. .It BEFOREMOUNT Before all file systems listed in .Pa /etc/fstab are mounted (the .Pa /usr and .Pa /var file systems are already present). .It AFTERMOUNT After all file systems are mounted. .El .Pp A "-" entry defaults to BEFORENET. .Sh FILES .Pa /etc/lkm.conf , .Pa /etc/rc , .Pa /etc/rc.d/lkm , .Pa /etc/rc.lkm .Sh SEE ALSO .Xr lkm 4 , .Xr modload 8 .Sh HISTORY The .Nm file appeared in .Nx 1.3 . @ 1.8 log @remove clause #3 from my license where there are no other copyright holders involved. @ text @d1 1 a1 1 .\" $NetBSD: lkm.conf.5,v 1.7 2002/10/02 11:15:18 wiz Exp $ @ 1.7 log @file system, not filesystem. @ text @d1 1 a1 1 .\" $NetBSD: lkm.conf.5,v 1.6 2001/06/05 12:38:32 wiz Exp $ a13 2 .\" 3. The name of the author may not be used to endorse or promote products .\" derived from this software without specific prior written permission. @ 1.7.36.1 log @Sync w/ -current. 34 merge conflicts to follow. @ text @d1 1 a1 1 .\" $NetBSD: lkm.conf.5,v 1.7 2002/10/02 11:15:18 wiz Exp $ d14 2 @ 1.7.34.1 log @sync with head @ text @d1 1 a1 1 .\" $NetBSD: lkm.conf.5,v 1.7 2002/10/02 11:15:18 wiz Exp $ d14 2 @ 1.7.32.1 log @Sync with HEAD. @ text @d1 1 a1 1 .\" $NetBSD$ d14 2 @ 1.6 log @Fix Nd, sort SEE ALSO, and improve formatting slightly. Remove some trailing whitespace, and one grammar fix. @ text @d1 1 a1 1 .\" $NetBSD: lkm.conf.5,v 1.5 2000/11/08 01:37:52 lukem Exp $ d69 1 a69 1 is the C symbol to call to initialise the module, defaulting to d91 1 a91 1 filesystem can already be mounted at this time. d93 1 a93 1 Before all filesystems listed in d99 1 a99 1 filesystems are already present). d101 1 a101 1 After all filesystems are mounted. @ 1.5 log @minor consistency work @ text @d1 1 a1 1 .\" $NetBSD: lkm.conf.5,v 1.4 1999/03/17 20:19:46 garbled Exp $ d34 1 a34 1 .Nd loadable kernel module configuration file. d41 1 a41 1 The d43 1 a43 2 file is processed by d50 1 a50 1 Except for the d64 1 a64 1 is some combination of the -d and -v options to d88 2 a89 2 .It BEFORENET - before networking is started. This works only if the d92 2 a93 1 .It BEFOREMOUNT - before all filesystems listed in d100 2 a101 1 .It AFTERMOUNT - after all filesystems are mounted. d111 2 a112 2 .Xr modload 8 , .Xr lkm 4 @ 1.4 log @More and more .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Many more to come. @ text @d1 1 a1 1 .\" $NetBSD: lkm.conf.5,v 1.3 1997/10/10 05:40:03 mrg Exp $ d29 1 a29 1 .Dd December 30, 1996 d49 1 a49 4 .Pp .Bd -unfilled -offset indent -compact path options entry postinstall output when .Ed d105 3 a108 2 .Pa /etc/lkm.conf .Pa /etc/rc @ 1.3 log @remove advertising clause from all my licenses. @ text @d1 1 a1 1 .\" $NetBSD: lkm.conf.5,v 1.2 1997/07/14 11:56:31 drochner Exp $ d31 1 a31 1 .Os NetBSD 1.3 @ 1.2 log @Document the new "when" field. @ text @d1 1 a1 1 .\" $NetBSD: lkm.conf.5,v 1.1 1997/01/05 11:50:16 mrg Exp $ d14 1 a14 5 .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: .\" This product includes software developed by Matthew R. Green for .\" the NetBSD Project. .\" 4. The name of the author may not be used to endorse or promote products @ 1.1 log @add man pages for mostly new and some old configuration files. @ text @d1 1 a1 1 .\" $NetBSD$ d55 1 a55 1 path options entry postinstall output d88 23 d114 1 @