Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin note module changes



details:   https://anonhg.NetBSD.org/src/rev/404afa1fdc88
branches:  trunk
changeset: 752752:404afa1fdc88
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Mar 05 18:51:22 2010 +0000

description:
note module changes

diffstat:

 sbin/modload/modload.8     |  8 ++++++--
 sbin/modstat/modstat.8     |  5 +++--
 sbin/modunload/modunload.8 |  9 +++++++--
 3 files changed, 16 insertions(+), 6 deletions(-)

diffs (85 lines):

diff -r cb93020ed8ee -r 404afa1fdc88 sbin/modload/modload.8
--- a/sbin/modload/modload.8    Fri Mar 05 18:49:30 2010 +0000
+++ b/sbin/modload/modload.8    Fri Mar 05 18:51:22 2010 +0000
@@ -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
diff -r cb93020ed8ee -r 404afa1fdc88 sbin/modstat/modstat.8
--- a/sbin/modstat/modstat.8    Fri Mar 05 18:49:30 2010 +0000
+++ b/sbin/modstat/modstat.8    Fri Mar 05 18:51:22 2010 +0000
@@ -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
diff -r cb93020ed8ee -r 404afa1fdc88 sbin/modunload/modunload.8
--- a/sbin/modunload/modunload.8        Fri Mar 05 18:49:30 2010 +0000
+++ b/sbin/modunload/modunload.8        Fri Mar 05 18:51:22 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index