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 "https://github.com/storaged-project/udisks/releases/download/udisks-&udisks2-version;/udisks-&udisks2-version;.tar.bz2">
|
---|
8 | <!ENTITY udisks2-download-ftp " ">
|
---|
9 | <!ENTITY udisks2-md5sum "ed3fa0a98456d26112308953b7488b84">
|
---|
10 | <!ENTITY udisks2-size "1.2 MB">
|
---|
11 | <!ENTITY udisks2-buildsize "47 MB (with tests)">
|
---|
12 | <!ENTITY udisks2-time "0.3 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="udisks2" xreflabel="UDisks-&udisks2-version;">
|
---|
16 | <?dbhtml filename="udisks2.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>UDisks-&udisks2-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="udisks2">
|
---|
26 | <primary sortas="a-UDisks">UDisks2</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to UDisks</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>UDisks</application> package provides a daemon,
|
---|
34 | tools and libraries to access and manipulate disks and storage
|
---|
35 | devices.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs81_checked;
|
---|
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 |
|
---|
74 | <bridgehead renderas="sect3">UDisks Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <xref linkend="libatasmart"/>,
|
---|
79 | <xref linkend="libblockdev"/>,
|
---|
80 | <xref linkend="libgudev"/>,
|
---|
81 | <xref linkend="libxslt"/>, and
|
---|
82 | <xref linkend="polkit"/>
|
---|
83 | </para>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Required at runtime</bridgehead>
|
---|
86 | <para role="required">
|
---|
87 | <xref role="runtime" linkend="btrfs-progs"/>,
|
---|
88 | <xref role="runtime" linkend="dosfstools"/>,
|
---|
89 | <xref role="runtime" linkend="gptfdisk"/>,
|
---|
90 | <xref role="runtime" linkend="mdadm"/>, and
|
---|
91 | <xref role="runtime" linkend="xfsprogs"/>
|
---|
92 | </para>
|
---|
93 |
|
---|
94 | <bridgehead renderas="sect4" revision="systemd">Recommended</bridgehead>
|
---|
95 | <para role="recommended" revision="systemd">
|
---|
96 | <xref linkend="systemd"/>
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
100 | <para role="optional">
|
---|
101 | <xref linkend="gobject-introspection"/>
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
105 | <para role="optional">
|
---|
106 | <xref linkend="gtk-doc"/>,
|
---|
107 | <xref linkend="lvm2"/>,
|
---|
108 | <xref linkend="ntfs-3g"/>, and
|
---|
109 | <ulink url="https://github.com/sahlberg/libiscsi">libiscsi</ulink>
|
---|
110 | </para>
|
---|
111 |
|
---|
112 | <para condition="html" role="usernotes">
|
---|
113 | User Notes: <ulink url="&blfs-wiki;/udisks2"/>
|
---|
114 | </para>
|
---|
115 | </sect2>
|
---|
116 |
|
---|
117 | <sect2 role="installation">
|
---|
118 | <title>Installation of UDisks</title>
|
---|
119 |
|
---|
120 | <para>
|
---|
121 | Install <application>UDisks</application> by running the following
|
---|
122 | commands:
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <screen><userinput>./configure --prefix=/usr \
|
---|
126 | --sysconfdir=/etc \
|
---|
127 | --localstatedir=/var \
|
---|
128 | --disable-static &&
|
---|
129 | make</userinput></screen>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | To test the results, issue: <command>make check</command>.
|
---|
133 | </para>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
137 | </para>
|
---|
138 |
|
---|
139 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
140 | </sect2>
|
---|
141 |
|
---|
142 | <sect2 role="commands">
|
---|
143 | <title>Command Explanations</title>
|
---|
144 |
|
---|
145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
146 | href="../../xincludes/static-libraries.xml"/>
|
---|
147 |
|
---|
148 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
149 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
150 |
|
---|
151 | </sect2>
|
---|
152 |
|
---|
153 | <sect2 role="content">
|
---|
154 | <title>Contents</title>
|
---|
155 |
|
---|
156 | <segmentedlist>
|
---|
157 | <segtitle>Installed Programs</segtitle>
|
---|
158 | <segtitle>Installed Library</segtitle>
|
---|
159 | <segtitle>Installed Directories</segtitle>
|
---|
160 |
|
---|
161 | <seglistitem>
|
---|
162 | <seg>
|
---|
163 | udisksctl and umount.udisks2
|
---|
164 | </seg>
|
---|
165 | <seg>
|
---|
166 | libudisks2.so
|
---|
167 | </seg>
|
---|
168 | <seg>
|
---|
169 | /etc/udisks2,
|
---|
170 | /usr/include/udisks2,
|
---|
171 | /usr/libexec/udisks2,
|
---|
172 | /usr/share/gtk-doc/html/udisks2, and
|
---|
173 | /var/lib/udisks2
|
---|
174 | </seg>
|
---|
175 | </seglistitem>
|
---|
176 | </segmentedlist>
|
---|
177 |
|
---|
178 | <variablelist>
|
---|
179 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
180 | <?dbfo list-presentation="list"?>
|
---|
181 | <?dbhtml list-presentation="table"?>
|
---|
182 |
|
---|
183 | <varlistentry id="udisksctl">
|
---|
184 | <term><command>udisksctl</command></term>
|
---|
185 | <listitem>
|
---|
186 | <para>
|
---|
187 | is a command-line program used to interact with the
|
---|
188 | <command>udisksd</command> daemon.
|
---|
189 | </para>
|
---|
190 | <indexterm zone="udisks2 udisksctl">
|
---|
191 | <primary sortas="b-udisksctl">udisksctl</primary>
|
---|
192 | </indexterm>
|
---|
193 | </listitem>
|
---|
194 | </varlistentry>
|
---|
195 |
|
---|
196 | <!-- Removed since the user shouldn't use this, and it is in /usr/libexec
|
---|
197 | <varlistentry id="udisksd">
|
---|
198 | <term><command>udisksd</command></term>
|
---|
199 | <listitem>
|
---|
200 | <para>
|
---|
201 | is the <application>UDisks</application> daemon itself.
|
---|
202 | </para>
|
---|
203 | <indexterm zone="udisks2 udisksd">
|
---|
204 | <primary sortas="b-udisksd">udisksd</primary>
|
---|
205 | </indexterm>
|
---|
206 | </listitem>
|
---|
207 | </varlistentry>
|
---|
208 | -->
|
---|
209 | <varlistentry id="umountudisks2">
|
---|
210 | <term><command>umount.udisks2</command></term>
|
---|
211 | <listitem>
|
---|
212 | <para>
|
---|
213 | is a command-line program used to unmount file systems
|
---|
214 | that have been mounted by the
|
---|
215 | <application>UDisks</application> daemon.
|
---|
216 | </para>
|
---|
217 | <indexterm zone="udisks2 umountudisks2">
|
---|
218 | <primary sortas="b-umountudisks2">umount.udisks2</primary>
|
---|
219 | </indexterm>
|
---|
220 | </listitem>
|
---|
221 | </varlistentry>
|
---|
222 |
|
---|
223 | <varlistentry id="libudisks2">
|
---|
224 | <term><filename class="libraryfile">libudisks2.so</filename></term>
|
---|
225 | <listitem>
|
---|
226 | <para>
|
---|
227 | contains the <application>UDisks</application> API functions.
|
---|
228 | </para>
|
---|
229 | <indexterm zone="udisks2 libudisks2">
|
---|
230 | <primary sortas="c-libudisks2">libudisks2.so</primary>
|
---|
231 | </indexterm>
|
---|
232 | </listitem>
|
---|
233 | </varlistentry>
|
---|
234 |
|
---|
235 | </variablelist>
|
---|
236 |
|
---|
237 | </sect2>
|
---|
238 |
|
---|
239 | </sect1>
|
---|