From a87c2a937ac8b10f4bab51f66a7b49444ee2f4c3 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 12 Nov 1998 11:10:26 +0000 Subject: [PATCH] Fill-in the manpages a little. --- sbin/kldload/kldload.8 | 20 +++++++++++++++++--- sbin/kldstat/kldstat.8 | 14 +++++++++++--- sbin/kldunload/kldunload.8 | 14 +++++++++++--- 3 files changed, 39 insertions(+), 9 deletions(-) diff --git a/sbin/kldload/kldload.8 b/sbin/kldload/kldload.8 index 8201f7f18c9b..64d10cb32441 100644 --- a/sbin/kldload/kldload.8 +++ b/sbin/kldload/kldload.8 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: kldload.8,v 1.3 1998/01/05 07:07:44 charnier Exp $ +.\" $Id: kldload.8,v 1.4 1998/03/19 07:45:17 charnier Exp $ .\" .Dd April 25, 1997 .Dt KLDLOAD 8 @@ -38,13 +38,24 @@ .Sh DESCRIPTION The .Nm -loads a file into the kernel using the kernel linker. +loads the file +.Ar filename.ko +into the kernel using the kernel linker. .Pp The following option is available: .Bl -tag -width indent .It Fl v Be more verbose. .El +.Sh FILES +.Bl -tag -width /modules -compact +.It Pa /modules +directory containing loadable modules. Modules must be have an extention of .ko +.Sh DIAGNOSTICS +The +.Nm +utility exits with a status of 0 on success +and with a nonzero status if an error occurs. .Sh SEE ALSO .Xr kldstat 8 , .Xr kldunload 8 @@ -52,6 +63,9 @@ Be more verbose. The .Nm command first appeared in -.Fx 3.0 . +.Fx 3.0 , +replacing the +.Xr lkm 4 +interface. .Sh AUTHORS .An Doug Rabson Aq dfr@FreeBSD.org diff --git a/sbin/kldstat/kldstat.8 b/sbin/kldstat/kldstat.8 index cd1d6a7dc23c..943f5446c61b 100644 --- a/sbin/kldstat/kldstat.8 +++ b/sbin/kldstat/kldstat.8 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: kldstat.8,v 1.3 1998/01/05 07:09:28 charnier Exp $ +.\" $Id: kldstat.8,v 1.4 1998/03/19 07:45:28 charnier Exp $ .\" .Dd April 25, 1997 .Dt KLDSTAT 8 @@ -43,7 +43,7 @@ utility displays the status of any files dynamically linked into the kernel. .Pp The following options are available: -.Bl -tag -width indent +.Bl -tag -width indentXX .It Fl v Be more verbose. .It Fl i Ar id @@ -51,6 +51,11 @@ Display the status of only the file with this ID. .It Fl n Ar name Display the status of only the file with this name. .El +.Sh DIAGNOSTICS +The +.Nm +utility exits with a status of 0 on success +and with a nonzero status if an error occurs. .Sh SEE ALSO .Xr kldload 8 , .Xr kldunload 8 @@ -58,6 +63,9 @@ Display the status of only the file with this name. The .Nm command first appeared in -.Fx 3.0 . +.Fx 3.0 , +replacing the +.Xr lkm 4 +interface. .Sh AUTHORS .An Doug Rabson Aq dfr@FreeBSD.org diff --git a/sbin/kldunload/kldunload.8 b/sbin/kldunload/kldunload.8 index 22e5c61c30e0..8fd216d33090 100644 --- a/sbin/kldunload/kldunload.8 +++ b/sbin/kldunload/kldunload.8 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: kldunload.8,v 1.4 1998/03/19 07:45:32 charnier Exp $ +.\" $Id: kldunload.8,v 1.5 1998/11/07 00:42:52 des Exp $ .\" .Dd April 25, 1997 .Dt KLDUNLOAD 8 @@ -45,7 +45,7 @@ utility unloads a file which was previously loaded with .Xr kldload 8 . .Pp The following options are available: -.Bl -tag -width indent +.Bl -tag -width indentXX .It Fl v Be more verbose. .It Fl i Ar id @@ -53,6 +53,11 @@ Unload the file with this ID. .It Fl n Ar name Unload the file with this name. .El +.Sh DIAGNOSTICS +The +.Nm +utility exits with a status of 0 on success +and with a nonzero status if an error occurs. .Sh SEE ALSO .Xr kldload 8 , .Xr kldstat 8 @@ -60,6 +65,9 @@ Unload the file with this name. The .Nm command first appeared in -.Fx 3.0 . +.Fx 3.0 , +replacing the +.Xr lkm 4 +interface. .Sh AUTHORS .An Doug Rabson Aq dfr@FreeBSD.org