[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 " ">
|
---|
[a2f1705] | 9 | <!ENTITY udisks2-md5sum "f2c793f839058371d1e93a654199438d">
|
---|
| 10 | <!ENTITY udisks2-size "892 KB">
|
---|
[0981c536] | 11 | <!ENTITY udisks2-buildsize "40 MB (additional 1 MB for the tests and
|
---|
| 12 | 46 MB for docs creation)">
|
---|
| 13 | <!ENTITY udisks2-time "0.3 SBU (additional 0.1 SBU for docs creation)">
|
---|
[f8efa5b] | 14 | ]>
|
---|
| 15 |
|
---|
[880c568] | 16 | <sect1 id="udisks2" xreflabel="UDisks-&udisks2-version;">
|
---|
[f8efa5b] | 17 | <?dbhtml filename="udisks2.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[880c568] | 24 | <title>UDisks-&udisks2-version;</title>
|
---|
[f8efa5b] | 25 |
|
---|
| 26 | <indexterm zone="udisks2">
|
---|
[880c568] | 27 | <primary sortas="a-UDisks">UDisks2</primary>
|
---|
[f8efa5b] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[73d97caf] | 31 | <title>Introduction to UDisks</title>
|
---|
[f8efa5b] | 32 |
|
---|
| 33 | <para>
|
---|
[0d7900a] | 34 | The <application>UDisks</application> package provides a daemon,
|
---|
| 35 | tools and libraries to access and manipulate disks and storage
|
---|
[f8efa5b] | 36 | devices.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
[df9fb20] | 39 | &lfs75_checked;
|
---|
[f8efa5b] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&udisks2-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&udisks2-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &udisks2-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &udisks2-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &udisks2-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &udisks2-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[73d97caf] | 75 | <bridgehead renderas="sect3">UDisks Dependencies</bridgehead>
|
---|
[f8efa5b] | 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
| 79 | <xref linkend="libatasmart"/>,
|
---|
| 80 | <xref linkend="libxslt"/>,
|
---|
[e6ce81b6] | 81 | <xref linkend="polkit"/>, and
|
---|
[47e9f6b0] | 82 | <xref linkend="systemd"/> (for GUdev and Logind)
|
---|
[f8efa5b] | 83 | </para>
|
---|
| 84 |
|
---|
[b84342d6] | 85 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 86 | <para role="optional">
|
---|
| 87 | <xref linkend="gobject-introspection"/>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
[f8efa5b] | 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 91 | <para role="optional">
|
---|
| 92 | <xref linkend="gtk-doc"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <para condition="html" role="usernotes">
|
---|
| 96 | User Notes: <ulink url="&blfs-wiki;/udisks2"/>
|
---|
| 97 | </para>
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
[73d97caf] | 101 | <title>Installation of UDisks</title>
|
---|
[f8efa5b] | 102 |
|
---|
| 103 | <para>
|
---|
[73d97caf] | 104 | Install <application>UDisks</application> by running the following
|
---|
[f8efa5b] | 105 | commands:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
[3546fda] | 108 | <screen><userinput>./configure --prefix=/usr \
|
---|
[18c9ee54] | 109 | --sysconfdir=/etc \
|
---|
[f8efa5b] | 110 | --localstatedir=/var \
|
---|
| 111 | --disable-static &&
|
---|
| 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
| 114 | <para>
|
---|
| 115 | To test the results, issue: <command>make check</command>.
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <para>
|
---|
| 119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
| 122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="commands">
|
---|
| 126 | <title>Command Explanations</title>
|
---|
| 127 |
|
---|
| 128 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[0d7900a] | 129 | href="../../xincludes/static-libraries.xml"/>
|
---|
[f8efa5b] | 130 |
|
---|
| 131 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 132 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 133 |
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="content">
|
---|
| 137 | <title>Contents</title>
|
---|
| 138 |
|
---|
| 139 | <segmentedlist>
|
---|
| 140 | <segtitle>Installed Programs</segtitle>
|
---|
| 141 | <segtitle>Installed Library</segtitle>
|
---|
| 142 | <segtitle>Installed Directories</segtitle>
|
---|
| 143 |
|
---|
| 144 | <seglistitem>
|
---|
| 145 | <seg>
|
---|
| 146 | udisksctl, udisksd and umount.udisks2
|
---|
| 147 | </seg>
|
---|
| 148 | <seg>
|
---|
| 149 | libudisks2.so
|
---|
| 150 | </seg>
|
---|
| 151 | <seg>
|
---|
[45ada554] | 152 | /etc/udisks2,
|
---|
[0d7900a] | 153 | /usr/include/udisks2,
|
---|
[b84342d6] | 154 | /usr/lib/udisks2,
|
---|
[f8efa5b] | 155 | /usr/share/gtk-doc/html/udisks2 and
|
---|
| 156 | /var/lib/udisks2
|
---|
| 157 | </seg>
|
---|
| 158 | </seglistitem>
|
---|
| 159 | </segmentedlist>
|
---|
| 160 |
|
---|
| 161 | <variablelist>
|
---|
| 162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 163 | <?dbfo list-presentation="list"?>
|
---|
| 164 | <?dbhtml list-presentation="table"?>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="udisksctl">
|
---|
| 167 | <term><command>udisksctl</command></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>
|
---|
[0d7900a] | 170 | is a command-line program used to interact with the
|
---|
[b84342d6] | 171 | <command>udisksd</command> daemon.
|
---|
[f8efa5b] | 172 | </para>
|
---|
| 173 | <indexterm zone="udisks2 udisksctl">
|
---|
| 174 | <primary sortas="b-udisksctl">udisksctl</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | <varlistentry id="udisksd">
|
---|
| 180 | <term><command>udisksd</command></term>
|
---|
| 181 | <listitem>
|
---|
| 182 | <para>
|
---|
[73d97caf] | 183 | is the <application>UDisks</application> daemon itself.
|
---|
[f8efa5b] | 184 | </para>
|
---|
| 185 | <indexterm zone="udisks2 udisksd">
|
---|
| 186 | <primary sortas="b-udisksd">udisksd</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | <varlistentry id="libudisks2">
|
---|
| 192 | <term><filename class="libraryfile">libudisks2.so</filename></term>
|
---|
| 193 | <listitem>
|
---|
| 194 | <para>
|
---|
[73d97caf] | 195 | contains the <application>UDisks</application> API functions.
|
---|
[f8efa5b] | 196 | </para>
|
---|
| 197 | <indexterm zone="udisks2 libudisks2">
|
---|
| 198 | <primary sortas="c-libudisks2">libudisks2.so</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
[0331c46] | 202 |
|
---|
[f8efa5b] | 203 | </variablelist>
|
---|
[0331c46] | 204 |
|
---|
[f8efa5b] | 205 | </sect2>
|
---|
[0331c46] | 206 |
|
---|
[f8efa5b] | 207 | </sect1>
|
---|