summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-01-12 13:57:45 -0200
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2012-01-12 14:33:04 -0200
commit26df21009de072e2b3b13d1870164c84ae76afdc (patch)
treee48c2a99f3b3b8eac0479d6ec7f7e38ded339037 /man
parentd5578ee0db49a23441eb30c3b7e6e819beb21815 (diff)
downloadkmod-26df21009de072e2b3b13d1870164c84ae76afdc.tar.gz
man: build lsmod man page
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am2
-rw-r--r--man/lsmod.sgml83
-rw-r--r--man/lsmod.xml70
3 files changed, 71 insertions, 84 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 632b6a0..f8c3e60 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,5 +1,5 @@
MAN5 = depmod.d.5 modprobe.d.5 modules.dep.5
-MAN8 = depmod.8 insmod.8
+MAN8 = depmod.8 insmod.8 lsmod.8
dist_man_MANS = $(MAN5) $(MAN8) $(MAN_STUB)
diff --git a/man/lsmod.sgml b/man/lsmod.sgml
deleted file mode 100644
index 0267451..0000000
--- a/man/lsmod.sgml
+++ /dev/null
@@ -1,83 +0,0 @@
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
- <!ENTITY debian "<productname>Debian GNU/Linux</productname>">
- <!ENTITY docbook "<productname>DocBook</productname>">
- <!ENTITY sgml "<abbrev>SGML</abbrev>">
-]>
-
-<!-- Stolen from manual page for docbook-to-man, DocBook source file
- (C) 1999 W. Borgert debacle@debian.org
-
- $Id: docbook-to-man.sgml,v 1.8 2002/04/27 15:28:02 debacle Exp $ -->
-
-<refentry>
- <refentryinfo>
- <address>
- <email>jcm@jonmasters.org</email>
- </address>
- <author>
- <firstname>Jon</firstname>
- <surname>Masters</surname>
- </author>
- <date>2010-03-01</date>
- </refentryinfo>
- <refmeta>
- <refentrytitle>lsmod</refentrytitle>
- <manvolnum>8</manvolnum>
- </refmeta>
- <refnamediv>
- <refname>lsmod</refname> <refpurpose>program to show the status of modules in the Linux Kernel</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <cmdsynopsis>
- <command>lsmod</command>
- </cmdsynopsis>
- </refsynopsisdiv>
- <refsect1>
- <title>DESCRIPTION</title>
-
- <para><command>lsmod</command> is a trivial program which nicely
- formats the contents of the <filename>/proc/modules</filename>,
- showing what kernel modules are currently loaded.
- </para>
-
- </refsect1>
- <refsect1>
- <title>COPYRIGHT</title>
- <para>
- This manual page originally Copyright 2002, Rusty Russell, IBM
- Corporation. Maintained by Jon Masters and others.
- </para>
- </refsect1>
- <refsect1>
- <title>SEE ALSO</title>
-
- <para>
- <citerefentry>
- <refentrytitle>insmod</refentrytitle><manvolnum>8</manvolnum>
- </citerefentry>,
- <citerefentry>
- <refentrytitle>modprobe</refentrytitle><manvolnum>8</manvolnum>
- </citerefentry>,
- <citerefentry>
- <refentrytitle>modinfo</refentrytitle><manvolnum>8</manvolnum>
- </citerefentry>
-</para>
- </refsect1>
-</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:2
-sgml-indent-data:t
-sgml-parent-document:nil
-sgml-default-dtd-file:nil
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
--->
diff --git a/man/lsmod.xml b/man/lsmod.xml
new file mode 100644
index 0000000..10af845
--- /dev/null
+++ b/man/lsmod.xml
@@ -0,0 +1,70 @@
+<?xml version='1.0'?>
+<!--*-nxml-*-->
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<refentry id="lsmod">
+ <refentryinfo>
+ <title>lsmod</title>
+ <productname>kmod</productname>
+
+ <authorgroup>
+ <author>
+ <contrib>Developer</contrib>
+ <firstname>Jon</firstname>
+ <surname>Masters</surname>
+ <email>jcm@jonmasters.org</email>
+ </author>
+ <author>
+ <contrib>Developer</contrib>
+ <firstname>Lucas</firstname>
+ <surname>De Marchi</surname>
+ <email>lucas.demarchi@profusion.mobi</email>
+ </author>
+ </authorgroup>
+ </refentryinfo>
+
+ <refmeta>
+ <refentrytitle>lsmod</refentrytitle>
+ <manvolnum>8</manvolnum>
+ </refmeta>
+
+ <refnamediv>
+ <refname>lsmod</refname>
+ <refpurpose>Show the status of modules in the Linux Kernel</refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>lsmod</command>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+
+ <refsect1><title>DESCRIPTION</title>
+ <para>
+ <command>lsmod</command> is a trivial program which nicely formats the
+ contents of the <filename>/proc/modules</filename>, showing what kernel
+ modules are currently loaded.
+ </para>
+ </refsect1>
+
+ <refsect1><title>COPYRIGHT</title>
+ <para>
+ This manual page originally Copyright 2002, Rusty Russell, IBM
+ Corporation. Maintained by Jon Masters and others.
+ </para>
+ </refsect1>
+
+ <refsect1><title>SEE ALSO</title>
+ <para>
+ <citerefentry>
+ <refentrytitle>insmod</refentrytitle><manvolnum>8</manvolnum>
+ </citerefentry>,
+ <citerefentry>
+ <refentrytitle>modprobe</refentrytitle><manvolnum>8</manvolnum>
+ </citerefentry>,
+ <citerefentry>
+ <refentrytitle>modinfo</refentrytitle><manvolnum>8</manvolnum>
+ </citerefentry>
+ </para>
+ </refsect1>
+</refentry>