blob: baae0f45adfb9938df031b258ea2290ccbde3741 [file] [log] [blame]
<link rel=stylesheet type="text/css" href="style.css" title="style">
Manual pages from other packages
<form method="get" action="">
<table border=0 cellpadding=0 cellspacing=0 width="100%">
<td align="left">
<font size="-1">
Linux <em>man-pages</em>: &nbsp;
<a href="./index.html">home</a> |
<a href="./contributing.html">contributing</a> |
<a href="./reporting_bugs.html">bugs</a> |
<a href="./patches.html">patches</a> |
<a href="./download.html">download</a> &nbsp; || &nbsp;
<a href="">online pages</a></font>
<td align="right">
<input type="text" name="q" size=10 maxlength=255 value="">
<input type="hidden" name="sitesearch" value="">
<input type="submit" name="sa" value="Search online pages">
<h1>Manual pages from other packages</h1>
Not all Linux man pages are part of the <em>man-pages</em> set.
In particular,
most Section 1, 6, and 8 pages come as part of some other package,
and many pages in Sections 3, 4, and 5 also come from other packages.
The easiest way to determine which pages are part of the
<em>man-pages</em> package is to
<a href="download.html">download the latest version</a>,
and see if the page is present,
or look in the
<a href="">online pages</a>.
Alternatively, since release 2.69, all pages that are part of
the <em>man-pages</em> package contain a COLOPHON section at the end
of the page which explicitly notes that the page is part of
<em>man-pages</em> and notes the version of
<em>man-pages</em> in which the page occurs.
If you want to submit a patch for a man page that comes from another
source, then you need to work out where the page comes from
(i.e., which package) and who the maintainer of that page is.
The way to do this depends on your distribution.
<h3>RPM-based distributions</h3>
On an RPM-based distribution (e.g., SUSE, Red Hat, Mandriva), you
can do the following to find out which package owns a particular file.
For example, suppose we want to find out who maintains the
<span class="man-page">md(4)</span>
man page:
<pre class="shell">
$ <strong>man -w md</strong>
$ <strong>rpm -qf /usr/share/man/man4/md.4.gz</strong>
mdadm-2.5.3-17 </pre>
We then have to find who maintains the
<span class="pathname">mdadm</span>
A web search might help answer the question,
or if you install the
<span class="pathname">mdadm</span>
source package, there will probably be a file
(typically named "README", "MAINTAINERS", ANNOUNCE", etc.)
that will identify the maintainer.
<h3>Debian-based distributions</h3>
On a Debian-based distribution (e.g., Debian, Knoppix, Ubuntu) you can
do the following:
<pre class="shell">
$ <strong>man -w fstab</strong>
$ <strong>dpkg -S /usr/share/man/man5/fstab.5.gz</strong>
mount: /usr/share/man/man5/fstab.5.gz
$ <strong>dpkg -p mount | grep Maintainer</strong>
Maintainer: LaMont Jones <email@removed> </pre>
Note: this gives you the Debian maintainer of the package in question,
which is a good address to report to,
since many packages and man pages are modified by Debian.
The maintainer of the original package
can usually be found in a README in
<span class="pathname">/usr/share/doc/<package-name></span>.
<span class="cmd">dpkg -L mount</span>
to find all files from the
<span class="pathname">mount</span> package.)
On Gentoo, we can use the
<span class="cmd">equery belongs</span>
command to do similar:
<pre class="shell">
$ <strong>equery belongs $(man -w md)</strong> </pre>
FIXME: fill in the details for Gentoo here.
<h3>Other distributions</h3>
(FIXME: add instructions for doing the equivalent of the above on
distributions that use other schemes.)
<!-- SITETRACKING.linux_man-pages -->
<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=5618989;
var sc_invisible=1;
var sc_partition=60;
var sc_click_stat=1;
var sc_security="4f8507d7";
<script type="text/javascript"
class="statcounter"><a title="customisable counter"
target="_blank"><img class="statcounter"
src="" alt="customisable
counter" ></a></div></noscript>
<!-- End of StatCounter Code -->