r8410 - in trunk/BOOK: . general/sysutils introduction/welcome

wblaszcz at linuxfromscratch.org wblaszcz at linuxfromscratch.org
Tue Apr 13 05:22:31 PDT 2010


Author: wblaszcz
Date: 2010-04-13 06:22:31 -0600 (Tue, 13 Apr 2010)
New Revision: 8410

Added:
   trunk/BOOK/general/sysutils/Device-mapper.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/sysutils/sysutils.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added new package, Device-mapper-1.02.45.

Added: trunk/BOOK/general/sysutils/Device-mapper.xml
===================================================================
--- trunk/BOOK/general/sysutils/Device-mapper.xml	                        (rev 0)
+++ trunk/BOOK/general/sysutils/Device-mapper.xml	2010-04-13 12:22:31 UTC (rev 8410)
@@ -0,0 +1,172 @@
+<?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 Device-mapper-download-http " ">
+  <!ENTITY Device-mapper-download-ftp  "ftp://sources.redhat.com/pub/lvm2/LVM2.&LVM2-version;.tgz">
+  <!ENTITY Device-mapper-md5sum        "72e3d66dc42aaf67dca475196a113528">
+  <!ENTITY Device-mapper-size          "833 KB">
+  <!ENTITY Device-mapper-buildsize     "7 MB">
+  <!ENTITY Device-mapper-time          "0.1 SBU">
+]>
+
+<sect1 id="Device-mapper" xreflabel="Device-mapper-&Device-mapper-version;">
+  <?dbhtml filename="Device-mapper.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>Device-mapper-&Device-mapper-version;</title>
+
+  <indexterm zone="Device-mapper">
+    <primary sortas="a-Device-mapper">Device-mapper</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to Device-mapper</title>
+
+    <para>The <application>Device-mapper</application> package is an
+    implementation of a minimalistic kernel-space driver that handles volume
+    management, while keeping knowledge of the underlying device layout in
+    user-space.</para>
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Download (HTTP): <ulink url="&Device-mapper-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&Device-mapper-download-ftp;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &Device-mapper-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &Device-mapper-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &Device-mapper-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &Device-mapper-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">Device-mapper Dependencies</bridgehead>
+
+    <para condition="html" role="usernotes">User Notes:
+    <ulink url="&blfs-wiki;/Device-mapper"/></para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Device-mapper</title>
+
+    <para>Install <application>Device-mapper</application> by running the following
+    commands:</para>
+
+<screen><userinput>./configure --prefix=/usr \
+            --enable-pkgconfig &&
+make device-mapper</userinput></screen>
+
+    <!-- Note, there is a test suite (make check), but it is for LVM2 -->
+
+    <para>This package does not come with a test suite.</para>
+
+    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
+
+<screen role="root"><userinput>make install_device-mapper</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para><parameter>--enable-pkgconfig</parameter>: This parameter installs
+    pkgconfig support.</para>
+
+    <para><option>--enable-dmeventd</option>: This option builds the
+    device-mapper event daemon.</para>
+
+    <para><option>--enable-cmdlib</option>: This option builds the shared
+    command library. It is required when building the daemon.</para>
+
+  </sect2>
+
+  <!-- TODO  FIXME Need to create a boot script for dmeventd (devmapper-event)
+  According to CBLFS, only needed in very specific situations.
+
+  <sect2 role="configuration">
+    <title>Configuring Device-mapper</title>
+
+    <sect3  id="Device-mapper-init">
+      <title>Boot Script</title>
+
+      <para>To automatically start the <command>Device-mapper</command> daemon
+      when the system is rebooted, install the
+      <filename>/etc/rc.d/init.d/Device-mapper</filename>
+      bootscript from the
+      <xref linkend="bootscripts"/> package.</para>
+
+      <indexterm zone="Device-mapper Device-mapper-init">
+        <primary sortas="f-Device-mapper">Device-mapper</primary>
+      </indexterm>
+
+<screen role="root"><userinput>make install-device-mapper</userinput></screen>
+
+    </sect3>
+
+  </sect2>
+
+  -->
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>dmeventd and dmsetup</seg>
+        <seg>libdevmapper-event.so and libdevmapper.so</seg>
+        <seg>None</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="dmsetup">
+        <term><command>dmsetup</command></term>
+        <listitem>
+          <para>is a low level logical volume management tool.</para>
+          <indexterm zone="Device-mapper dmsetup">
+            <primary sortas="b-dmsetup">dmsetup</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libdevmapper">
+        <term><filename class='libraryfile'>libdevmapper.so</filename></term>
+        <listitem>
+          <para>contains the <application>Device-mapper</application> API
+          functions.</para>
+          <indexterm zone="Device-mapper libdevmapper">
+            <primary sortas="c-libdevmapper">libdevmapper.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>


Property changes on: trunk/BOOK/general/sysutils/Device-mapper.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date

Modified: trunk/BOOK/general/sysutils/sysutils.xml
===================================================================
--- trunk/BOOK/general/sysutils/sysutils.xml	2010-04-12 11:28:55 UTC (rev 8409)
+++ trunk/BOOK/general/sysutils/sysutils.xml	2010-04-13 12:22:31 UTC (rev 8410)
@@ -38,6 +38,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="udev.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="DeviceKit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="DeviceKit-power.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="Device-mapper.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="lzma-utils.xml"/>
 
 </chapter>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2010-04-12 11:28:55 UTC (rev 8409)
+++ trunk/BOOK/general.ent	2010-04-13 12:22:31 UTC (rev 8410)
@@ -3,7 +3,7 @@
 $Date$
 -->
 
-<!ENTITY day          "12">                   <!-- Always 2 digits -->
+<!ENTITY day          "13">                   <!-- Always 2 digits -->
 <!ENTITY month        "04">                   <!-- Always 2 digits -->
 <!ENTITY year         "2010">
 <!ENTITY copyrightdate "2001-&year;">
@@ -255,6 +255,8 @@
 <!ENTITY udev-version                 "145">
 <!ENTITY DeviceKit-version            "003">
 <!ENTITY DeviceKit-power-version      "012">
+<!ENTITY LVM2-version                 "2.02.62">
+<!ENTITY Device-mapper-version        "1.02.45">
 <!ENTITY unrar-version                "3.7.8">
 <!ENTITY lzma-utils-version           "4.32.7">
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2010-04-12 11:28:55 UTC (rev 8409)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2010-04-13 12:22:31 UTC (rev 8410)
@@ -42,6 +42,15 @@
 -->
 
     <listitem>
+      <para>April 13th, 2010</para>
+      <itemizedlist>
+        <listitem>
+          <para>[wblaszcz] - Added new package, Device-mapper-1.02.45.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>April 12th, 2010</para>
       <itemizedlist>
         <listitem>




More information about the blfs-book mailing list