source: general/sysutils/udisks2.xml@ 42ddc30

12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 42ddc30 was 14891a90, checked in by Xi Ruoyao <xry111@…>, 15 months ago

treewide: More "User Notes" clean up

Remove links to pages w/o real contents.

  • Property mode set to 100644
File size: 7.8 KB
Line 
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 "576e057d2654894fab58f0393d105b7b">
10 <!ENTITY udisks2-size "1.6 MB">
11 <!ENTITY udisks2-buildsize "52 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
19 <title>UDisks-&udisks2-version;</title>
20
21 <indexterm zone="udisks2">
22 <primary sortas="a-UDisks2">UDisks2</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to UDisks</title>
27
28 <para>
29 The <application>UDisks</application> package provides a daemon,
30 tools and libraries to access and manipulate disks and storage
31 devices.
32 </para>
33
34 &lfs113_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&udisks2-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&udisks2-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &udisks2-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &udisks2-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &udisks2-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &udisks2-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">UDisks Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required">
74 <xref linkend="libatasmart"/>,
75 <xref linkend="libblockdev"/>,
76 <xref linkend="libgudev"/>,
77 <xref linkend="libxslt"/>, and
78 <xref linkend="polkit"/>
79 </para>
80
81 <bridgehead renderas="sect4">Required at runtime</bridgehead>
82 <para role="required">
83 <xref role="runtime" linkend="btrfs-progs"/>,
84 <phrase revision="sysv"><xref role="runtime" linkend="dbus"/>,</phrase>
85 <xref role="runtime" linkend="dosfstools"/>,
86 <xref role="runtime" linkend="gptfdisk"/>,
87 <xref role="runtime" linkend="mdadm"/>, and
88 <xref role="runtime" linkend="xfsprogs"/>
89 </para>
90
91 <bridgehead renderas="sect4">Recommended</bridgehead>
92 <para role="recommended">
93 <phrase revision="systemd"><xref role='runtime' linkend="systemd"/>
94 (runtime)</phrase>
95 <phrase revision="sysv"><xref linkend="elogind"/></phrase>
96 </para>
97
98 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
99 <para role="optional">
100 <xref linkend="gobject-introspection"/>
101 </para>
102
103 <bridgehead renderas="sect4">Optional</bridgehead>
104 <para role="optional">
105 <xref linkend="dbus-python"/> (for the integration tests),
106 <xref linkend="gtk-doc"/>,
107 <xref linkend="lvm2"/>,
108 <!-- <xref linkend="ntfs-3g"/>, -->
109 <xref linkend="pygobject3"/> (for the integration tests),
110 <ulink url="https://github.com/relan/exfat">exFAT</ulink>, and
111 <ulink url="https://github.com/sahlberg/libiscsi">libiscsi</ulink>
112 </para>
113
114 </sect2>
115
116 <sect2 role="installation">
117 <title>Installation of UDisks</title>
118
119<!-- Applied upstream in version 2.9.0.
120 <para>
121 First, fix a regression caused by glib-2.64:
122 </para>
123
124<screen><userinput remap="pre">sed -i '/stdout_channel = g/a g_io_channel_set_encoding (job->child_stdout_channel, NULL, NULL);' src/udisksspawnedjob.c &amp;&amp;
125sed -i '/stderr_channel = g/a g_io_channel_set_encoding (job->child_stderr_channel, NULL, NULL);' src/udisksspawnedjob.c</userinput></screen>
126-->
127
128 <para>
129 Install <application>UDisks</application> by running the following
130 commands:
131 </para>
132
133<screen><userinput>./configure --prefix=/usr \
134 --sysconfdir=/etc \
135 --localstatedir=/var \
136 --disable-static &amp;&amp;
137make</userinput></screen>
138
139 <para>
140 To test the results, issue: <command>make check</command>. A more
141 thorough test can be run with <command>make ci</command>. You must first
142 create the directories
143 <filename class="directory">/var/run/udisks2</filename> and
144 <filename class="directory">/var/lib/udisks2</filename>, and the optional
145 python modules should be present.
146 </para>
147
148 <para>
149 Now, as the <systemitem class="username">root</systemitem> user:
150 </para>
151
152<screen role="root"><userinput>make install</userinput></screen>
153 </sect2>
154
155 <sect2 role="commands">
156 <title>Command Explanations</title>
157
158 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
159 href="../../xincludes/static-libraries.xml"/>
160
161 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
162 href="../../xincludes/gtk-doc-rebuild.xml"/>
163
164 </sect2>
165
166 <sect2 role="content">
167 <title>Contents</title>
168
169 <segmentedlist>
170 <segtitle>Installed Programs</segtitle>
171 <segtitle>Installed Library</segtitle>
172 <segtitle>Installed Directories</segtitle>
173
174 <seglistitem>
175 <seg>
176 udisksctl and umount.udisks2
177 </seg>
178 <seg>
179 libudisks2.so
180 </seg>
181 <seg>
182 /etc/udisks2,
183 /usr/include/udisks2,
184 /usr/libexec/udisks2,
185 /usr/share/gtk-doc/html/udisks2, and
186 /var/lib/udisks2
187 </seg>
188 </seglistitem>
189 </segmentedlist>
190
191 <variablelist>
192 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
193 <?dbfo list-presentation="list"?>
194 <?dbhtml list-presentation="table"?>
195
196 <varlistentry id="udisksctl">
197 <term><command>udisksctl</command></term>
198 <listitem>
199 <para>
200 is a command-line program used to interact with the
201 <command>udisksd</command> daemon
202 </para>
203 <indexterm zone="udisks2 udisksctl">
204 <primary sortas="b-udisksctl">udisksctl</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209<!-- Removed since the user shouldn't use this, and it is in /usr/libexec
210 <varlistentry id="udisksd">
211 <term><command>udisksd</command></term>
212 <listitem>
213 <para>
214 is the <application>UDisks</application> daemon itself.
215 </para>
216 <indexterm zone="udisks2 udisksd">
217 <primary sortas="b-udisksd">udisksd</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221-->
222 <varlistentry id="umountudisks2">
223 <term><command>umount.udisks2</command></term>
224 <listitem>
225 <para>
226 is a command-line program used to unmount file systems
227 that have been mounted by the
228 <application>UDisks</application> daemon
229 </para>
230 <indexterm zone="udisks2 umountudisks2">
231 <primary sortas="b-umountudisks2">umount.udisks2</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="libudisks2">
237 <term><filename class="libraryfile">libudisks2.so</filename></term>
238 <listitem>
239 <para>
240 contains the <application>UDisks</application> API functions
241 </para>
242 <indexterm zone="udisks2 libudisks2">
243 <primary sortas="c-libudisks2">libudisks2.so</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 </variablelist>
249
250 </sect2>
251
252</sect1>
Note: See TracBrowser for help on using the repository browser.