170140
From 0229af0d724faa862cde63ec8c0c6448210c532c Mon Sep 17 00:00:00 2001
170140
From: Matthias Clasen <mclasen@redhat.com>
170140
Date: Wed, 26 Jun 2013 01:10:48 -0400
170140
Subject: [PATCH] Add a man page for umount.udisks2
170140
170140
Some customers get upset if there are commands in /bin or /sbin
170140
without a manual page. Since the umount interface expects its
170140
plugins to be in /sbin, add a pro forma man page for umount.udisks2.
170140
170140
https://bugs.freedesktop.org/show_bug.cgi?id=66188
170140
---
170140
 doc/man/Makefile.am        |  5 ++++
170140
 doc/man/udisks.xml         |  1 +
170140
 doc/man/udisksctl.xml      |  1 +
170140
 doc/man/udisksd.xml        |  1 +
170140
 doc/man/umount.udisks2.xml | 60 ++++++++++++++++++++++++++++++++++++++++++++++
170140
 5 files changed, 68 insertions(+)
170140
 create mode 100644 doc/man/umount.udisks2.xml
170140
170140
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
170140
index e4e8ca8..97f76dc 100644
170140
--- a/doc/man/Makefile.am
170140
+++ b/doc/man/Makefile.am
170140
@@ -8,6 +8,7 @@ man_MANS +=				\
170140
 	udisksctl.1			\
170140
 	udisksd.8			\
170140
 	udisks.8			\
170140
+	umount.udisks2.8		\
170140
 	$(NULL)
170140
 endif
170140
 
170140
@@ -20,10 +21,14 @@ udisksd.8 : udisksd.xml
170140
 udisks.8 : udisks.xml
170140
 	$(XSLTPROC) -path "$(builddir)/.." -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
170140
 
170140
+umount.udisks2.8 : umount.udisks2.xml
170140
+	$(XSLTPROC) -path "$(builddir)/.." -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
170140
+
170140
 EXTRA_DIST= 				\
170140
 	udisksctl.xml			\
170140
 	udisksd.xml			\
170140
 	udisks.xml             		\
170140
+	umount.udisks2.xml		\
170140
 	$(NULL)
170140
 
170140
 clean-local:
170140
diff --git a/doc/man/udisks.xml b/doc/man/udisks.xml
170140
index dc32995..e13129c 100644
170140
--- a/doc/man/udisks.xml
170140
+++ b/doc/man/udisks.xml
170140
@@ -393,6 +393,7 @@
170140
       </citerefentry>,
170140
       <link linkend="udisksd.8"><citerefentry><refentrytitle>udisksd</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
170140
       <link linkend="udisksctl.1"><citerefentry><refentrytitle>udisksctl</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>,
170140
+      <link linkend="umount.udisks2.8"><citerefentry><refentrytitle>umount.udisks2</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
170140
       <citerefentry><refentrytitle>gnome-disks</refentrytitle><manvolnum>1</manvolnum></citerefentry>
170140
     </para>
170140
   </refsect1>
170140
diff --git a/doc/man/udisksctl.xml b/doc/man/udisksctl.xml
170140
index 8f38479..a87f5f2 100644
170140
--- a/doc/man/udisksctl.xml
170140
+++ b/doc/man/udisksctl.xml
170140
@@ -332,6 +332,7 @@
170140
     <para>
170140
       <link linkend="udisks.8"><citerefentry><refentrytitle>udisks</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
170140
       <link linkend="udisksd.8"><citerefentry><refentrytitle>udisksd</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
170140
+      <link linkend="umount.udisks2.8"><citerefentry><refentrytitle>umount.udisks2</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
170140
       <citerefentry>
170140
         <refentrytitle>polkit</refentrytitle><manvolnum>8</manvolnum>
170140
       </citerefentry>
170140
diff --git a/doc/man/udisksd.xml b/doc/man/udisksd.xml
170140
index 4ad7c31..559edf1 100644
170140
--- a/doc/man/udisksd.xml
170140
+++ b/doc/man/udisksd.xml
170140
@@ -113,6 +113,7 @@
170140
     <para>
170140
       <link linkend="udisks.8"><citerefentry><refentrytitle>udisks</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
170140
       <link linkend="udisksctl.1"><citerefentry><refentrytitle>udisksctl</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>,
170140
+      <link linkend="umount.udisks2.8"><citerefentry><refentrytitle>umount.udisks2</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
170140
       <citerefentry>
170140
         <refentrytitle>polkit</refentrytitle><manvolnum>8</manvolnum>
170140
       </citerefentry>,
170140
diff --git a/doc/man/umount.udisks2.xml b/doc/man/umount.udisks2.xml
170140
new file mode 100644
170140
index 0000000..5c0ca0f
170140
--- /dev/null
170140
+++ b/doc/man/umount.udisks2.xml
170140
@@ -0,0 +1,60 @@
170140
+
170140
+
170140
+               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
170140
+[]>
170140
+<refentry id="umount.udisks2.8">
170140
+  <refentryinfo>
170140
+    <title>umount.udisks2</title>
170140
+    <date>March 2013</date>
170140
+    <productname>udisks</productname>
170140
+  </refentryinfo>
170140
+
170140
+  <refmeta>
170140
+    <refentrytitle>umount.udisks2</refentrytitle>
170140
+    <manvolnum>8</manvolnum>
170140
+    <refmiscinfo class="manual">System Administration</refmiscinfo>
170140
+    <refmiscinfo class="source">udisks</refmiscinfo>
170140
+    <refmiscinfo class="version">&version;</refmiscinfo>
170140
+  </refmeta>
170140
+
170140
+  <refnamediv>
170140
+    <refname>umount.udisks2</refname>
170140
+    <refpurpose>unmount file systems that have been mounted by udisks</refpurpose>
170140
+  </refnamediv>
170140
+
170140
+  <refsect1><title>DESCRIPTION</title>
170140
+    <para>
170140
+      The <command>umount.udisks2</command> program is a helper for the
170140
+      <citerefentry><refentrytitle>umount</refentrytitle><manvolnum>8</manvolnum></citerefentry>
170140
+      program. Its purpose is to clean up automatically created directories
170140
+      created at file system mount-time. It should never be called directly.
170140
+    </para>
170140
+  </refsect1>
170140
+
170140
+  <refsect1><title>AUTHOR</title>
170140
+    <para>
170140
+      Written by David Zeuthen
170140
+      <email></email> with a lot of help
170140
+      from many others.
170140
+    </para>
170140
+  </refsect1>
170140
+
170140
+  <refsect1>
170140
+    <title>BUGS</title>
170140
+    <para>
170140
+      Please send bug reports to either the distribution bug tracker
170140
+      or the upstream bug tracker at
170140
+      <ulink url="http://bugs.freedesktop.org/enter_bug.cgi?product=udisks"/>.
170140
+    </para>
170140
+  </refsect1>
170140
+
170140
+  <refsect1>
170140
+    <title>SEE ALSO</title>
170140
+    <para>
170140
+      <link linkend="udisks.8"><citerefentry><refentrytitle>udisks</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
170140
+      <link linkend="udisksd.8"><citerefentry><refentrytitle>udisksd</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
170140
+      <link linkend="udisksctl.1"><citerefentry><refentrytitle>udisksctl</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>,
170140
+      <link linkend="umount.8"><citerefentry><refentrytitle>umount</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
170140
+    </para>
170140
+  </refsect1>
170140
+</refentry>
170140
-- 
170140
1.8.3.1
170140