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 " ">
|
2012-04-20 05:24:31 +08:00
|
|
|
<!ENTITY udisks2-md5sum "c2a3428227de0251ff9e204d17dd2130">
|
2012-04-07 03:46:04 +08:00
|
|
|
<!ENTITY udisks2-size "576 KB">
|
|
|
|
<!ENTITY udisks2-buildsize "26 MB">
|
|
|
|
<!ENTITY udisks2-time "0.3 SBU">
|
|
|
|
]>
|
|
|
|
|
2012-04-28 06:12:16 +08:00
|
|
|
<sect1 id="udisks2" xreflabel="UDisks2-&udisks2-version;">
|
2012-04-07 03:46:04 +08:00
|
|
|
<?dbhtml filename="udisks2.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>UDisks2-&udisks2-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="udisks2">
|
|
|
|
<primary sortas="a-udisks2">UDisks2</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to UDisks2</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The <application>UDisks2</application> package provides a daemon,
|
|
|
|
tools and libraries to access and manipulate disks and storage
|
|
|
|
devices.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
&lfs70_checked;
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">UDisks2 Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
|
|
|
<xref linkend="libatasmart"/>,
|
|
|
|
<xref linkend="libxslt"/>,
|
|
|
|
<xref linkend="polkit"/> and
|
|
|
|
<xref linkend="udev"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="gobject-introspection"/> and
|
|
|
|
<xref linkend="gtk-doc"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/udisks2"/>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of UDisks2</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Install <application>UDisks2</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--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"
|
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
/usr/include/udisks2, /usr/lib/udisks2,
|
|
|
|
/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>
|
|
|
|
is a command-line program used to interact with the udisksd daemon.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="udisks2 udisksctl">
|
|
|
|
<primary sortas="b-udisksctl">udisksctl</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="udisksd">
|
|
|
|
<term><command>udisksd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is the UDisks2 daemon itself.
|
|
|
|
</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>
|
|
|
|
contains UDisks2 API functions.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="udisks2 libudisks2">
|
|
|
|
<primary sortas="c-libudisks2">libudisks2.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|