Module Name: src
Committed By: pooka
Date: Fri Mar 5 18:51:23 UTC 2010
Modified Files:
src/sbin/modload: modload.8
src/sbin/modstat: modstat.8
src/sbin/modunload: modunload.8
Log Message:
note module changes
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sbin/modload/modload.8
cvs rdiff -u -r1.5 -r1.6 src/sbin/modstat/modstat.8
cvs rdiff -u -r1.16 -r1.17 src/sbin/modunload/modunload.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/modload/modload.8
diff -u src/sbin/modload/modload.8:1.37 src/sbin/modload/modload.8:1.38
--- src/sbin/modload/modload.8:1.37 Thu Jun 11 08:11:52 2009
+++ src/sbin/modload/modload.8 Fri Mar 5 18:51:22 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: modload.8,v 1.37 2009/06/11 08:11:52 wiz Exp $
+.\" $NetBSD: modload.8,v 1.38 2010/03/05 18:51:22 pooka Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
.\" All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
.\"
-.Dd June 9, 2009
+.Dd March 5, 2010
.Dt MODLOAD 8
.Os
.Sh NAME
@@ -90,6 +90,10 @@
.Em Note :
an incompatible module can cause system instability, including data
loss or corruption.
+.Pp
+This option is also required for re-enabling a builtin module that
+was disabled using
+.Xr modunload 8 .
.It Fl i Ar var=integer
Pass the module an integer property with the name
.Ar var
Index: src/sbin/modstat/modstat.8
diff -u src/sbin/modstat/modstat.8:1.5 src/sbin/modstat/modstat.8:1.6
--- src/sbin/modstat/modstat.8:1.5 Fri Oct 2 19:50:37 2009
+++ src/sbin/modstat/modstat.8 Fri Mar 5 18:51:23 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: modstat.8,v 1.5 2009/10/02 19:50:37 elad Exp $
+.\" $NetBSD: modstat.8,v 1.6 2010/03/05 18:51:23 pooka Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
.\" All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
.\"
-.Dd October 2, 2009
+.Dd March 5, 2010
.Dt MODSTAT 8
.Os
.Sh NAME
@@ -74,6 +74,7 @@
Size of the module in bytes.
.It Li REFS
Number of references held on the module.
+Disabled builtin modules will show a count of \-1 here.
.It Li REQUIRES
Additional modules that must be present.
.El
Index: src/sbin/modunload/modunload.8
diff -u src/sbin/modunload/modunload.8:1.16 src/sbin/modunload/modunload.8:1.17
--- src/sbin/modunload/modunload.8:1.16 Wed Nov 12 12:35:53 2008
+++ src/sbin/modunload/modunload.8 Fri Mar 5 18:51:23 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: modunload.8,v 1.16 2008/11/12 12:35:53 ad Exp $
+.\" $NetBSD: modunload.8,v 1.17 2010/03/05 18:51:23 pooka Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
.\" All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
.\"
-.Dd November 12, 2008
+.Dd March 5, 2010
.Dt MODUNLOAD 8
.Os
.Sh NAME
@@ -49,6 +49,11 @@
.Ar name
is name of the module to be unloaded, as shown by
.Xr modstat 8 .
+.Pp
+Builtin modules will not be unloaded from memory, but they will be
+disabled.
+They can be re-enabled using
+.Xr modload 8 .
.Sh DIAGNOSTICS
The
.Nm