[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 |
|
---|
[0e7f80e4] | 7 | <!ENTITY udisks2-download-http "https://github.com/storaged-project/udisks/releases/download/udisks-&udisks2-version;/udisks-&udisks2-version;.tar.bz2">
|
---|
[f8efa5b] | 8 | <!ENTITY udisks2-download-ftp " ">
|
---|
[99feb0ce] | 9 | <!ENTITY udisks2-md5sum "4e8d156c00be8b2cd919d3478e3e83c3">
|
---|
[0e7f80e4] | 10 | <!ENTITY udisks2-size "1.2 MB">
|
---|
[6dcb9e77] | 11 | <!ENTITY udisks2-buildsize "45 MB (with tests)">
|
---|
[66ee922] | 12 | <!ENTITY udisks2-time "0.3 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 |
|
---|
[39a26d5] | 38 | &lfs80_checked;
|
---|
[0e7f80e4] | 39 | &gcc7_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"/>,
|
---|
[6dcb9e77] | 80 | <xref linkend="libblockdev"/>,
|
---|
[f175d6f6] | 81 | <xref linkend="libgudev"/>,
|
---|
| 82 | <xref linkend="libxslt"/>, and
|
---|
| 83 | <xref linkend="polkit"/>
|
---|
[f8efa5b] | 84 | </para>
|
---|
| 85 |
|
---|
[7e70c8be] | 86 | <bridgehead renderas="sect4">Required at runtime</bridgehead>
|
---|
| 87 | <para role="required">
|
---|
[7f8e546a] | 88 | <xref linkend="btrfs-progs"/>,
|
---|
| 89 | <xref linkend="dosfstools"/>,
|
---|
[7e70c8be] | 90 | <xref linkend="gptfdisk"/>,
|
---|
| 91 | <xref linkend="mdadm"/>, and
|
---|
| 92 | <xref linkend="xfsprogs"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
[1552ac8] | 95 | <bridgehead renderas="sect4" revision="systemd">Recommended</bridgehead>
|
---|
| 96 | <para role="recommended" revision="systemd">
|
---|
| 97 | <xref linkend="systemd"/>
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
[b84342d6] | 100 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 101 | <para role="optional">
|
---|
| 102 | <xref linkend="gobject-introspection"/>
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
[f8efa5b] | 105 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 106 | <para role="optional">
|
---|
[0f23f29] | 107 | <xref linkend="gtk-doc"/>,
|
---|
[0e7f80e4] | 108 | <xref linkend="lvm2"/>,
|
---|
[6dcb9e77] | 109 | <xref linkend="ntfs-3g"/>, and
|
---|
| 110 | <ulink url="https://github.com/sahlberg/libiscsi">libiscsi</ulink>
|
---|
[f8efa5b] | 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <para condition="html" role="usernotes">
|
---|
| 114 | User Notes: <ulink url="&blfs-wiki;/udisks2"/>
|
---|
| 115 | </para>
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="installation">
|
---|
[73d97caf] | 119 | <title>Installation of UDisks</title>
|
---|
[f8efa5b] | 120 |
|
---|
| 121 | <para>
|
---|
[73d97caf] | 122 | Install <application>UDisks</application> by running the following
|
---|
[f8efa5b] | 123 | commands:
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
[3546fda] | 126 | <screen><userinput>./configure --prefix=/usr \
|
---|
[18c9ee54] | 127 | --sysconfdir=/etc \
|
---|
[f8efa5b] | 128 | --localstatedir=/var \
|
---|
| 129 | --disable-static &&
|
---|
| 130 | make</userinput></screen>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
| 133 | To test the results, issue: <command>make check</command>.
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="commands">
|
---|
| 144 | <title>Command Explanations</title>
|
---|
| 145 |
|
---|
| 146 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[0d7900a] | 147 | href="../../xincludes/static-libraries.xml"/>
|
---|
[f8efa5b] | 148 |
|
---|
| 149 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 150 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 151 |
|
---|
| 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | <sect2 role="content">
|
---|
| 155 | <title>Contents</title>
|
---|
| 156 |
|
---|
| 157 | <segmentedlist>
|
---|
| 158 | <segtitle>Installed Programs</segtitle>
|
---|
| 159 | <segtitle>Installed Library</segtitle>
|
---|
| 160 | <segtitle>Installed Directories</segtitle>
|
---|
| 161 |
|
---|
| 162 | <seglistitem>
|
---|
| 163 | <seg>
|
---|
[99feb0ce] | 164 | udisksctl, udisksd, and umount.udisks2
|
---|
[f8efa5b] | 165 | </seg>
|
---|
| 166 | <seg>
|
---|
| 167 | libudisks2.so
|
---|
| 168 | </seg>
|
---|
| 169 | <seg>
|
---|
[45ada554] | 170 | /etc/udisks2,
|
---|
[0d7900a] | 171 | /usr/include/udisks2,
|
---|
[b84342d6] | 172 | /usr/lib/udisks2,
|
---|
[99feb0ce] | 173 | /usr/libexec/udisks2,
|
---|
| 174 | /usr/share/gtk-doc/html/udisks2, and
|
---|
[f8efa5b] | 175 | /var/lib/udisks2
|
---|
| 176 | </seg>
|
---|
| 177 | </seglistitem>
|
---|
| 178 | </segmentedlist>
|
---|
| 179 |
|
---|
| 180 | <variablelist>
|
---|
| 181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 182 | <?dbfo list-presentation="list"?>
|
---|
| 183 | <?dbhtml list-presentation="table"?>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="udisksctl">
|
---|
| 186 | <term><command>udisksctl</command></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>
|
---|
[0d7900a] | 189 | is a command-line program used to interact with the
|
---|
[b84342d6] | 190 | <command>udisksd</command> daemon.
|
---|
[f8efa5b] | 191 | </para>
|
---|
| 192 | <indexterm zone="udisks2 udisksctl">
|
---|
| 193 | <primary sortas="b-udisksctl">udisksctl</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="udisksd">
|
---|
| 199 | <term><command>udisksd</command></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>
|
---|
[73d97caf] | 202 | is the <application>UDisks</application> daemon itself.
|
---|
[f8efa5b] | 203 | </para>
|
---|
| 204 | <indexterm zone="udisks2 udisksd">
|
---|
| 205 | <primary sortas="b-udisksd">udisksd</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
[1552ac8] | 210 | <varlistentry id="umountudisks2" revision="systemd">
|
---|
| 211 | <term><command>umount.udisks2</command></term>
|
---|
| 212 | <listitem>
|
---|
| 213 | <para>
|
---|
| 214 | is a command-line program used to unmount file systems
|
---|
| 215 | that have been mounted by the
|
---|
| 216 | <application>UDisks</application> daemon.
|
---|
| 217 | </para>
|
---|
| 218 | <indexterm zone="udisks2 umountudisks2">
|
---|
| 219 | <primary sortas="b-umount.udisks2">umountudisks2</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
[f8efa5b] | 224 | <varlistentry id="libudisks2">
|
---|
| 225 | <term><filename class="libraryfile">libudisks2.so</filename></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>
|
---|
[73d97caf] | 228 | contains the <application>UDisks</application> API functions.
|
---|
[f8efa5b] | 229 | </para>
|
---|
| 230 | <indexterm zone="udisks2 libudisks2">
|
---|
| 231 | <primary sortas="c-libudisks2">libudisks2.so</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
[0331c46] | 235 |
|
---|
[f8efa5b] | 236 | </variablelist>
|
---|
[0331c46] | 237 |
|
---|
[f8efa5b] | 238 | </sect2>
|
---|
[0331c46] | 239 |
|
---|
[f8efa5b] | 240 | </sect1>
|
---|