Commit Graph

40 Commits

Author SHA1 Message Date
jruoho
91e230c6b8 Fix xref; module(4) -> module(7). 2010-12-14 16:23:59 +00:00
jruoho
05a9f55544 Xref module(4). 2010-12-13 10:07:46 +00:00
pooka
696ffdd08a note module changes 2010-03-05 18:51:22 +00:00
wiz
d28fa3c589 Remove -P from -p section, not from -f one. 2009-06-11 08:11:52 +00:00
jnemeth
59cc9994df -p -P doesn't make much sense since no module will be loaded. 2009-06-10 03:30:32 +00:00
jnemeth
cbd3656645 Add the MODCTL_NO_PROP flag to tell the kernel to ignore <module>.prop.
Add the '-P' option to modload(8) to set this flag.
2009-06-09 20:35:02 +00:00
jnemeth
5ce0121eaa Add a new [-d var] option which when combined with -p and -m will allow
you to delete vars from the existing <module>.prop file.
2009-06-05 11:37:30 +00:00
wiz
0246bc0bc2 Sort options. 2009-06-05 09:31:07 +00:00
jnemeth
3ee4fdb595 Add a "-m plist" option. This option will read in an existing
<module>.prop file and merge any options supplied on the "command
line".

This code will serve as the basis for in-kernel merging.
2009-06-04 02:57:01 +00:00
wiz
04c4f4a1d1 Sync usage and man page. 2009-05-19 22:39:52 +00:00
wiz
d4f65fc8c5 Sort option descriptions. Split usage in SYNOPSIS in two, since there
are two different methods of calling it.
Add arguments to option descriptions.
2009-05-19 22:35:41 +00:00
jnemeth
47371f5f63 Add -p option which outputs a property list suitable for loading with a
module.  This is in preparation for having the kernel load an optional
<module>.prop alongside a module, which is useful for passing options
to autoloaded modules and modules loaded at boot time.
2009-05-19 22:09:59 +00:00
uwe
2b5d806dfe Punctuation formatting nit. 2008-11-17 02:32:09 +00:00
ad
0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
reed
f21a315136 In the DIAGNOSTICS section, document that mismatched LKM and kernel
versions will be reported to the console and to the system message
buffer.

And update documentation date.
2006-03-24 00:38:23 +00:00
wiz
495a82c52c New sentence, new line; improve grammar. 2003-09-06 20:09:26 +00:00
jdolecek
ade4df3adc implement support for forced LKM load, which makes the kernel skip
the version checks, using new -f flag and LMFORCE ioctl

Hopefully the description in the manpage is discouraging enough so that
nobody would dare even _think_ of using forced loads. A warning
message is written to stderr when this is used, just in case.
2003-09-06 19:23:20 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
grant
c39c2e62d5 'NetBSD.org' and some mdoc fixes. 2003-02-14 16:21:47 +00:00
simonb
da75d51b40 Add support for using an optional linker script (/usr/lkm/ldscript if
found, and overridable by the -T option).
2002-10-10 01:57:10 +00:00
wiz
2fb4b1db52 New sentence, new line. By Robert Elz with minimal fixes. 2002-10-01 13:40:23 +00:00
gehenna
b7c0e53f09 For loadable drivers, the 3rd argument is character device major and
the 4th argument is block device major.

Remove one item from BUGS section.
2002-09-13 15:32:21 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz
ca7b306a86 Improve author markup, use standard header. 2001-11-16 11:57:16 +00:00
wiz
4ce43ae0cd Whitespace nits 2001-11-16 10:25:42 +00:00
wiz
73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
cgd
db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
mrg
72a64c5437 add ELF support, mostly from joda@pdc.kth.se (Johan Danielsson) in PR#6149,
updated for the symtab support for a.out (non for ELF yet) and other cleanup
by myself.  should work on the alpha as well as other ELF ports...
remove the ld(1) output by default, rather than leaving little binary turds
across the filesystem...
1999-06-13 12:54:40 +00:00
ross
855480012b Invert the meaning of -s, from "don't load symbols" to "load symbols".
Document that this is expensive (and why) in the BUGS section.
1999-04-30 18:32:01 +00:00
erh
fa45851f9b Add missing .El line. 1999-03-10 05:14:51 +00:00
mycroft
f6590b22cd Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
sommerfe
0c70fedcac Allow modload to load symbols for use by DDB. 1999-01-13 23:07:30 +00:00
darrenr
5867f60b50 if xxxinit is not found in the module, look for <modname>_lkmentry as an
alternate entry point (used in provided modules).  Mention this on man page
too.
1997-09-15 09:27:52 +00:00
lukem
526ce12987 * cleanup for WARNS=1
* getopt returns -1 not EOF
* use .Nm correctly
1997-09-15 03:55:25 +00:00
cgd
0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mycroft
55e0e1d12a Bug fixes from John Kohl:
modload didn't honor its -p argument.
It also would destroy the input file when you didn't specify an output
symbol file with -o.
1994-09-18 19:53:44 +00:00
jtc
42f840d29d Fix spelling error in Copyright notice 1994-01-29 01:43:03 +00:00
jtc
ab3a89f913 Fix spelling errors 1994-01-14 02:05:23 +00:00
cgd
26e41afe6d add LKM man pages 1993-06-08 03:07:11 +00:00