Home | History | Annotate | only in /src/sbin/modunload
History log of /src/sbin/modunload
RevisionDateAuthorComments
 1.16 11-Aug-2013  dholland WARNS=5 is the default in sbin, don't need to set it explicitly.
 1.15 22-Aug-2012  jnemeth branches: 1.15.2;
Set WARNS=5. No warnings/errors were found with a test compile.
 1.14 13-Dec-2010  pooka branches: 1.14.6;
Add rump client support for module utilities. It should be noted
that while modstat and modunload and builtin modules work exactly
the same as in the host case, modload loads file system kernel
modules from the rump kernel namespace. By default, archs which
have rump support for the kernel kernel ABI have the host module
directory mapped into the rump kernel namespace at the same location
(/stand/...). Therefore, if the *host* module directory is populated,
"rump.modload foo" will work as expected. Otherwise, RUMP_MODULEBASE
can be used to point to the module directory.
 1.13 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.12 10-Feb-2008  jmmv branches: 1.12.4;
Always test MKMODULAR with != "no". Requested by mrg@.
 1.11 09-Feb-2008  jmmv Reverse MKMODULAR checks.
 1.10 09-Feb-2008  jmmv Recognize MKMODULAR and build the appropriate tool.
 1.9 16-Jan-2008  ad Pull in my modules code for review/test/hacking.
 1.8 27-Jun-2005  christos branches: 1.8.10; 1.8.12;
Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
 1.7 05-Feb-2005  xtraeme Kill __P(), use ANSI function declarations; WARNS=3.
 1.6 18-Mar-1995  cgd convert to new RCS Id conventions; reduce my headache
 1.5 22-Dec-1994  cgd specify man pages the new way.
 1.4 09-Feb-1994  deraadt do not -DKERNEL please
 1.3 09-Aug-1993  mycroft Don't reset CFLAGS.
 1.2 08-Jun-1993  cgd add LKM man pages
 1.1 07-Jun-1993  cgd add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!
 1.8.12.1 18-Feb-2008  mjf Sync with HEAD.
 1.8.10.1 23-Mar-2008  matt sync with HEAD
 1.12.4.1 17-Jan-2009  mjf Sync with HEAD.
 1.14.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.14.6.1 30-Oct-2012  yamt sync with head
 1.15.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6 05-Sep-2016  sevan Drop main() prototype.
 1.5 06-May-2016  khorben More friendly error messages for modload(8) and modunload(8)

Tested on NetBSD/amd64.

From Christian Koch (cfkoch@) of EdgeBSD; thanks!
 1.4 13-Dec-2010  pooka Add rump client support for module utilities. It should be noted
that while modstat and modunload and builtin modules work exactly
the same as in the host case, modload loads file system kernel
modules from the rump kernel namespace. By default, archs which
have rump support for the kernel kernel ABI have the host module
directory mapped into the rump kernel namespace at the same location
(/stand/...). Therefore, if the *host* module directory is populated,
"rump.modload foo" will work as expected. Otherwise, RUMP_MODULEBASE
can be used to point to the module directory.
 1.3 06-Dec-2010  jmcneill Allow for passing more than one module at a time:

$ sudo modunload auvitek xc5000 wintv_eeprom
 1.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 16-Jan-2008  ad branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
Pull in my modules code for review/test/hacking.
 1.1.10.1 18-May-2008  yamt sync with head.
 1.1.8.2 23-Mar-2008  matt sync with HEAD
 1.1.8.1 16-Jan-2008  matt file main.c was added on branch matt-armv6 on 2008-03-23 00:44:24 +0000
 1.1.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.2.2 18-Feb-2008  mjf Sync with HEAD.
 1.1.2.1 16-Jan-2008  mjf file main.c was added on branch mjf-devfs on 2008-02-18 21:04:17 +0000
 1.23 12-Sep-2016  wiz Use standard section header.
 1.22 12-Sep-2016  sevan Document author and the version modunload appeared.
Bump date.
 1.21 28-Nov-2015  pgoyette Add cross-refs from modload(8) amd modunload(8) to modctl(2)
 1.20 14-Dec-2010  jruoho Fix xref; module(4) -> module(7).
 1.19 13-Dec-2010  jruoho Xref module(4).
 1.18 06-Dec-2010  jmcneill Allow for passing more than one module at a time:

$ sudo modunload auvitek xc5000 wintv_eeprom
 1.17 05-Mar-2010  pooka note module changes
 1.16 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.15 06-Sep-2003  wiz branches: 1.15.32;
New sentence, new line; drop trailing whitespace.
 1.14 06-Sep-2003  jdolecek if neither -i nor -n option is specified, use the passed argument
as module ID if it's numeric, and as module name if it's not numeric

this saves some typing which bothered me for some years (one too many today)
 1.13 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.12 14-Feb-2003  grant 'NetBSD.org' and some mdoc fixes.
 1.11 16-Nov-2001  wiz Improve author markup, use standard header.
 1.10 16-Nov-2001  wiz Whitespace nits
 1.9 05-Jun-2001  wiz Drop arguments of .Os.
 1.8 14-Jun-2000  cgd sweep of my licenses (userland files w/o only my copyright) for
consistency. (no functional changes)
 1.7 14-Jun-2000  cgd fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well. No functional changes.
 1.6 07-Mar-1999  mycroft branches: 1.6.8;
Clean up SYNOPSIS formatting.
 1.5 15-Sep-1997  lukem * cleanup for WARNS=1
* getopt returns -1 not EOF
* use .Nm correctly
 1.4 28-Nov-1995  jtc merge in changes from 1.1 release branch
 1.3 18-Mar-1995  cgd branches: 1.3.2;
convert to new RCS Id conventions; reduce my headache
 1.2 29-Jan-1994  jtc Fix spelling error in Copyright notice
 1.1 08-Jun-1993  cgd add LKM man pages
 1.3.2.1 26-Oct-1995  jtc Fix bad xref: modunload(8) -> modload(8); PR #1691
 1.6.8.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.15.32.1 17-Jan-2009  mjf Sync with HEAD.
 1.14 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.13 05-Feb-2005  xtraeme branches: 1.13.26;
Kill __P(), use ANSI function declarations; WARNS=3.
 1.12 06-Sep-2003  jdolecek if neither -i nor -n option is specified, use the passed argument
as module ID if it's numeric, and as module name if it's not numeric

this saves some typing which bothered me for some years (one too many today)
 1.11 22-Jul-1999  hubertf s/atoi/strtol/ and check if argument given to -i was really a valid
number.

Patch submitted in PR 6456 by lha@stacken.kth.se
 1.10 15-Sep-1997  lukem * cleanup for WARNS=1
* getopt returns -1 not EOF
* use .Nm correctly
 1.9 28-May-1995  jtc <sys/errno.h> -> <errno.h>
 1.8 18-Mar-1995  cgd convert to new RCS Id conventions; reduce my headache
 1.7 18-Dec-1994  cgd -Wall cleanups from Jim Jegers
 1.6 23-May-1994  cgd kill (bogus) multiple inclusions
 1.5 05-May-1994  cgd kill stupidity
 1.4 01-Apr-1994  mycroft Style cleanup; use err*() and atexit().
 1.3 03-Dec-1993  deraadt i love ansi
 1.2 07-Jun-1993  cgd open device for read/write, so we can actually load
devices w/new checks in kern_lkm.c
 1.1 07-Jun-1993  cgd add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!
 1.13.26.1 17-Jan-2009  mjf Sync with HEAD.
 1.1 13-Dec-2010  pooka Add rump client support for module utilities. It should be noted
that while modstat and modunload and builtin modules work exactly
the same as in the host case, modload loads file system kernel
modules from the rump kernel namespace. By default, archs which
have rump support for the kernel kernel ABI have the host module
directory mapped into the rump kernel namespace at the same location
(/stand/...). Therefore, if the *host* module directory is populated,
"rump.modload foo" will work as expected. Otherwise, RUMP_MODULEBASE
can be used to point to the module directory.
 1.1 13-Dec-2010  pooka Add rump client support for module utilities. It should be noted
that while modstat and modunload and builtin modules work exactly
the same as in the host case, modload loads file system kernel
modules from the rump kernel namespace. By default, archs which
have rump support for the kernel kernel ABI have the host module
directory mapped into the rump kernel namespace at the same location
(/stand/...). Therefore, if the *host* module directory is populated,
"rump.modload foo" will work as expected. Otherwise, RUMP_MODULEBASE
can be used to point to the module directory.
 1.3 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.2 18-Mar-1995  cgd branches: 1.2.50;
convert to new RCS Id conventions; reduce my headache
 1.1 01-Apr-1994  mycroft Style cleanup; use err*() and atexit().
 1.2.50.1 17-Jan-2009  mjf Sync with HEAD.
 1.2 13-Dec-2010  pooka use crunchops for crunchables
 1.1 13-Dec-2010  pooka Add rump client support for module utilities. It should be noted
that while modstat and modunload and builtin modules work exactly
the same as in the host case, modload loads file system kernel
modules from the rump kernel namespace. By default, archs which
have rump support for the kernel kernel ABI have the host module
directory mapped into the rump kernel namespace at the same location
(/stand/...). Therefore, if the *host* module directory is populated,
"rump.modload foo" will work as expected. Otherwise, RUMP_MODULEBASE
can be used to point to the module directory.

RSS XML Feed