[f8efa5b] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY udisks2-download-http "http://udisks.freedesktop.org/releases/udisks-&udisks2-version;.tar.bz2">
|
---|
| 8 | <!ENTITY udisks2-download-ftp " ">
|
---|
[a1fa348] | 9 | <!ENTITY udisks2-md5sum "8bccd36573b75286538bd5bd2c424f45">
|
---|
| 10 | <!ENTITY udisks2-size "900 KB">
|
---|
| 11 | <!ENTITY udisks2-buildsize "25 MB (with tests)">
|
---|
| 12 | <!ENTITY udisks2-time "0.2 SBU (with tests)">
|
---|
[f8efa5b] | 13 | ]>
|
---|
| 14 |
|
---|
[880c568] | 15 | <sect1 id="udisks2" xreflabel="UDisks-&udisks2-version;">
|
---|
[f8efa5b] | 16 | <?dbhtml filename="udisks2.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[880c568] | 23 | <title>UDisks-&udisks2-version;</title>
|
---|
[f8efa5b] | 24 |
|
---|
| 25 | <indexterm zone="udisks2">
|
---|
[880c568] | 26 | <primary sortas="a-UDisks">UDisks2</primary>
|
---|
[f8efa5b] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[73d97caf] | 30 | <title>Introduction to UDisks</title>
|
---|
[f8efa5b] | 31 |
|
---|
| 32 | <para>
|
---|
[0d7900a] | 33 | The <application>UDisks</application> package provides a daemon,
|
---|
| 34 | tools and libraries to access and manipulate disks and storage
|
---|
[f8efa5b] | 35 | devices.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[f3f96f3] | 38 | &lfs7a_checked;
|
---|
[f8efa5b] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&udisks2-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&udisks2-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &udisks2-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &udisks2-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &udisks2-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &udisks2-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[73d97caf] | 74 | <bridgehead renderas="sect3">UDisks Dependencies</bridgehead>
|
---|
[f8efa5b] | 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
| 78 | <xref linkend="libatasmart"/>,
|
---|
[f175d6f6] | 79 | <xref linkend="libgudev"/>,
|
---|
| 80 | <xref linkend="libxslt"/>, and
|
---|
| 81 | <xref linkend="polkit"/>
|
---|
[f8efa5b] | 82 | </para>
|
---|
| 83 |
|
---|
[1552ac8] | 84 | <bridgehead renderas="sect4" revision="systemd">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended" revision="systemd">
|
---|
| 86 | <xref linkend="systemd"/>
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
[b84342d6] | 89 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 90 | <para role="optional">
|
---|
| 91 | <xref linkend="gobject-introspection"/>
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
[f8efa5b] | 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 95 | <para role="optional">
|
---|
[0f23f29] | 96 | <xref linkend="gptfdisk"/>,
|
---|
| 97 | <xref linkend="gtk-doc"/>,
|
---|
| 98 | <xref linkend="ntfs-3g"/>,
|
---|
| 99 | <xref linkend="parted"/>, and
|
---|
| 100 | <ulink url="https://github.com/dosfstools/dosfstools">dosfstools</ulink>
|
---|
[f8efa5b] | 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <para condition="html" role="usernotes">
|
---|
| 104 | User Notes: <ulink url="&blfs-wiki;/udisks2"/>
|
---|
| 105 | </para>
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="installation">
|
---|
[73d97caf] | 109 | <title>Installation of UDisks</title>
|
---|
[f8efa5b] | 110 |
|
---|
| 111 | <para>
|
---|
[73d97caf] | 112 | Install <application>UDisks</application> by running the following
|
---|
[f8efa5b] | 113 | commands:
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
[3546fda] | 116 | <screen><userinput>./configure --prefix=/usr \
|
---|
[18c9ee54] | 117 | --sysconfdir=/etc \
|
---|
[f8efa5b] | 118 | --localstatedir=/var \
|
---|
| 119 | --disable-static &&
|
---|
| 120 | make</userinput></screen>
|
---|
| 121 |
|
---|
| 122 | <para>
|
---|
| 123 | To test the results, issue: <command>make check</command>.
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
| 130 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="commands">
|
---|
| 134 | <title>Command Explanations</title>
|
---|
| 135 |
|
---|
| 136 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[0d7900a] | 137 | href="../../xincludes/static-libraries.xml"/>
|
---|
[f8efa5b] | 138 |
|
---|
| 139 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 140 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | <sect2 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Programs</segtitle>
|
---|
| 149 | <segtitle>Installed Library</segtitle>
|
---|
| 150 | <segtitle>Installed Directories</segtitle>
|
---|
| 151 |
|
---|
| 152 | <seglistitem>
|
---|
| 153 | <seg>
|
---|
| 154 | udisksctl, udisksd and umount.udisks2
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | libudisks2.so
|
---|
| 158 | </seg>
|
---|
| 159 | <seg>
|
---|
[45ada554] | 160 | /etc/udisks2,
|
---|
[0d7900a] | 161 | /usr/include/udisks2,
|
---|
[b84342d6] | 162 | /usr/lib/udisks2,
|
---|
[f8efa5b] | 163 | /usr/share/gtk-doc/html/udisks2 and
|
---|
| 164 | /var/lib/udisks2
|
---|
| 165 | </seg>
|
---|
| 166 | </seglistitem>
|
---|
| 167 | </segmentedlist>
|
---|
| 168 |
|
---|
| 169 | <variablelist>
|
---|
| 170 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 171 | <?dbfo list-presentation="list"?>
|
---|
| 172 | <?dbhtml list-presentation="table"?>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="udisksctl">
|
---|
| 175 | <term><command>udisksctl</command></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>
|
---|
[0d7900a] | 178 | is a command-line program used to interact with the
|
---|
[b84342d6] | 179 | <command>udisksd</command> daemon.
|
---|
[f8efa5b] | 180 | </para>
|
---|
| 181 | <indexterm zone="udisks2 udisksctl">
|
---|
| 182 | <primary sortas="b-udisksctl">udisksctl</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | <varlistentry id="udisksd">
|
---|
| 188 | <term><command>udisksd</command></term>
|
---|
| 189 | <listitem>
|
---|
| 190 | <para>
|
---|
[73d97caf] | 191 | is the <application>UDisks</application> daemon itself.
|
---|
[f8efa5b] | 192 | </para>
|
---|
| 193 | <indexterm zone="udisks2 udisksd">
|
---|
| 194 | <primary sortas="b-udisksd">udisksd</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
[1552ac8] | 199 | <varlistentry id="umountudisks2" revision="systemd">
|
---|
| 200 | <term><command>umount.udisks2</command></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>
|
---|
| 203 | is a command-line program used to unmount file systems
|
---|
| 204 | that have been mounted by the
|
---|
| 205 | <application>UDisks</application> daemon.
|
---|
| 206 | </para>
|
---|
| 207 | <indexterm zone="udisks2 umountudisks2">
|
---|
| 208 | <primary sortas="b-umount.udisks2">umountudisks2</primary>
|
---|
| 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
[f8efa5b] | 213 | <varlistentry id="libudisks2">
|
---|
| 214 | <term><filename class="libraryfile">libudisks2.so</filename></term>
|
---|
| 215 | <listitem>
|
---|
| 216 | <para>
|
---|
[73d97caf] | 217 | contains the <application>UDisks</application> API functions.
|
---|
[f8efa5b] | 218 | </para>
|
---|
| 219 | <indexterm zone="udisks2 libudisks2">
|
---|
| 220 | <primary sortas="c-libudisks2">libudisks2.so</primary>
|
---|
| 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
[0331c46] | 224 |
|
---|
[f8efa5b] | 225 | </variablelist>
|
---|
[0331c46] | 226 |
|
---|
[f8efa5b] | 227 | </sect2>
|
---|
[0331c46] | 228 |
|
---|
[f8efa5b] | 229 | </sect1>
|
---|