2012-04-07 03:46:04 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY udisks2-download-http "http://udisks.freedesktop.org/releases/udisks-&udisks2-version;.tar.bz2">
|
|
|
|
<!ENTITY udisks2-download-ftp " ">
|
2015-03-24 04:56:24 +08:00
|
|
|
<!ENTITY udisks2-md5sum "73632501002e6de8244f831e38b2b98e">
|
|
|
|
<!ENTITY udisks2-size "872 KB">
|
|
|
|
<!ENTITY udisks2-buildsize "26 MB (additional 4 MB for docs creation)">
|
2014-12-22 02:45:33 +08:00
|
|
|
<!ENTITY udisks2-time "0.2 SBU (additional 0.3 SBU for docs creation)">
|
2012-04-07 03:46:04 +08:00
|
|
|
]>
|
|
|
|
|
2013-07-16 07:27:18 +08:00
|
|
|
<sect1 id="udisks2" xreflabel="UDisks-&udisks2-version;">
|
2012-04-07 03:46:04 +08:00
|
|
|
<?dbhtml filename="udisks2.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2013-07-16 07:27:18 +08:00
|
|
|
<title>UDisks-&udisks2-version;</title>
|
2012-04-07 03:46:04 +08:00
|
|
|
|
|
|
|
<indexterm zone="udisks2">
|
2013-07-16 07:27:18 +08:00
|
|
|
<primary sortas="a-UDisks">UDisks2</primary>
|
2012-04-07 03:46:04 +08:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2012-10-07 17:59:17 +08:00
|
|
|
<title>Introduction to UDisks</title>
|
2012-04-07 03:46:04 +08:00
|
|
|
|
|
|
|
<para>
|
2013-02-12 02:51:17 +08:00
|
|
|
The <application>UDisks</application> package provides a daemon,
|
|
|
|
tools and libraries to access and manipulate disks and storage
|
2012-04-07 03:46:04 +08:00
|
|
|
devices.
|
|
|
|
</para>
|
|
|
|
|
2015-06-29 07:09:05 +08:00
|
|
|
&lfs77_checked; &gcc5_checked;
|
2012-04-07 03:46:04 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&udisks2-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&udisks2-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &udisks2-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &udisks2-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &udisks2-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &udisks2-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2012-10-07 17:59:17 +08:00
|
|
|
<bridgehead renderas="sect3">UDisks Dependencies</bridgehead>
|
2012-04-07 03:46:04 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
|
|
|
<xref linkend="libatasmart"/>,
|
|
|
|
<xref linkend="libxslt"/>,
|
2012-07-21 02:45:36 +08:00
|
|
|
<xref linkend="polkit"/>, and
|
2013-10-22 04:02:06 +08:00
|
|
|
<xref linkend="udev-extras"/> (for GUdev)
|
2012-04-07 03:46:04 +08:00
|
|
|
</para>
|
|
|
|
|
2012-05-08 06:05:37 +08:00
|
|
|
<bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="gobject-introspection"/>
|
|
|
|
</para>
|
|
|
|
|
2012-04-07 03:46:04 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2014-12-22 02:45:33 +08:00
|
|
|
<xref linkend="gptfdisk"/>,
|
|
|
|
<xref linkend="gtk-doc"/>,
|
|
|
|
<xref linkend="ntfs-3g"/>,
|
|
|
|
<xref linkend="parted"/>, and
|
|
|
|
<ulink url="https://github.com/dosfstools/dosfstools">dosfstools</ulink>
|
2012-04-07 03:46:04 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/udisks2"/>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2012-10-07 17:59:17 +08:00
|
|
|
<title>Installation of UDisks</title>
|
2012-04-07 03:46:04 +08:00
|
|
|
|
|
|
|
<para>
|
2012-10-07 17:59:17 +08:00
|
|
|
Install <application>UDisks</application> by running the following
|
2012-04-07 03:46:04 +08:00
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
2013-10-11 23:44:49 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
2013-08-27 01:26:25 +08:00
|
|
|
--sysconfdir=/etc \
|
2012-04-07 03:46:04 +08:00
|
|
|
--localstatedir=/var \
|
|
|
|
--disable-static &&
|
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
To test the results, issue: <command>make check</command>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2013-02-12 02:51:17 +08:00
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
2012-04-07 03:46:04 +08:00
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
udisksctl, udisksd and umount.udisks2
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
libudisks2.so
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2012-08-13 01:02:37 +08:00
|
|
|
/etc/udisks2,
|
2013-02-12 02:51:17 +08:00
|
|
|
/usr/include/udisks2,
|
2012-05-08 06:05:37 +08:00
|
|
|
/usr/lib/udisks2,
|
2012-04-07 03:46:04 +08:00
|
|
|
/usr/share/gtk-doc/html/udisks2 and
|
|
|
|
/var/lib/udisks2
|
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="udisksctl">
|
|
|
|
<term><command>udisksctl</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-02-12 02:51:17 +08:00
|
|
|
is a command-line program used to interact with the
|
2012-05-08 06:05:37 +08:00
|
|
|
<command>udisksd</command> daemon.
|
2012-04-07 03:46:04 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="udisks2 udisksctl">
|
|
|
|
<primary sortas="b-udisksctl">udisksctl</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="udisksd">
|
|
|
|
<term><command>udisksd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-10-07 17:59:17 +08:00
|
|
|
is the <application>UDisks</application> daemon itself.
|
2012-04-07 03:46:04 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="udisks2 udisksd">
|
|
|
|
<primary sortas="b-udisksd">udisksd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libudisks2">
|
|
|
|
<term><filename class="libraryfile">libudisks2.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-10-07 17:59:17 +08:00
|
|
|
contains the <application>UDisks</application> API functions.
|
2012-04-07 03:46:04 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="udisks2 libudisks2">
|
|
|
|
<primary sortas="c-libudisks2">libudisks2.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-05-11 22:45:08 +08:00
|
|
|
|
2012-04-07 03:46:04 +08:00
|
|
|
</variablelist>
|
2012-05-11 22:45:08 +08:00
|
|
|
|
2012-04-07 03:46:04 +08:00
|
|
|
</sect2>
|
2012-05-11 22:45:08 +08:00
|
|
|
|
2012-04-07 03:46:04 +08:00
|
|
|
</sect1>
|