Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/libblockdev.xml

    ra4013fa rcbffe27  
    7575    <bridgehead renderas="sect4">Required</bridgehead>
    7676    <para role="required">
    77       <xref linkend="gobject-introspection"/>,
    78       <xref linkend="libbytesize"/>,
    79       <xref linkend="libyaml"/>,
    80       <xref linkend="parted"/>, and
    81       <xref linkend="volume_key"/>
     77      <xref linkend="glib2"/>
    8278    </para>
    8379
    8480    <bridgehead renderas="sect4">Recommended</bridgehead>
    8581    <para role="recommended">
    86       <xref linkend="libnvme"/>
     82      <xref linkend="cryptsetup"/>,
     83      <xref linkend="gobject-introspection"/> (required for GNOME),
     84      <xref linkend="keyutils"/>,
     85      <xref linkend="libbytesize"/>,
     86      <xref linkend="libnvme"/>, and
     87      <xref linkend="lvm2"/>
    8788    </para>
    8889
     
    9293      <xref linkend="gtk-doc"/>,
    9394      <xref linkend="mdadm"/>,
     95      <xref linkend="parted"/>,
     96      <xref linkend="volume_key"/>,
    9497      <ulink url="https://people.redhat.com/~heinzm/sw/dmraid/">dmraid</ulink>,
    95       <ulink url="https://bcachefs.org/">bcachefs</ulink>, and
    96       <ulink url="https://github.com/pmem/ndctl">ndctl</ulink>
     98      <ulink url="https://bcachefs.org/">bcachefs</ulink>,
     99      <ulink url="https://github.com/pmem/ndctl">ndctl</ulink>, and
     100      <ulink url="https://github.com/Datera/targetcli">targetcli</ulink>
     101      (for tests)
    97102    </para>
    98103
     
    115120    </para>
    116121
    117 <screen><userinput>./configure --prefix=/usr     \
    118             --sysconfdir=/etc \
    119             --with-python3    \
    120             --without-gtk-doc \
    121             --without-nvdimm  \
    122             --without-dm      &amp;&amp;
     122<screen><userinput>./configure --prefix=/usr      \
     123            --sysconfdir=/etc  \
     124            --with-python3     \
     125            --without-escrow   \
     126            --without-gtk-doc  \
     127            --without-lvm      \
     128            --without-lvm_dbus \
     129            --without-nvdimm   \
     130            --without-tools    &amp;&amp;
    123131make</userinput></screen>
    124132
    125133    <para>
    126       This package does not come with a working test suite.
     134      The test suite requires <application>targetcli</application>, which
     135      is not a part of BLFS.
    127136    </para>
    128137
     
    134143
    135144  </sect2>
    136 <!--
     145
    137146  <sect2 role="commands">
    138147    <title>Command Explanations</title>
    139148
    140 
    141   </sect2>
    142 -->
     149    <para>
     150      <parameter>--without-escrow</parameter>: This switch allows building
     151      <application>libblockdev</application> without
     152      <xref linkend="volume_key"/> installed.  Remove it if you've installed
     153      <xref linkend="volume_key"/>.
     154    </para>
     155
     156    <para>
     157      <parameter>--without-lvm --without-lvm_dbus
     158      --without-tools</parameter>: The combination of these switches allows
     159      building <application>libblockdev</application> without
     160      <xref linkend="parted"/> installed.  Remove it if you've installed
     161      <xref linkend="parted"/> and wish to build the
     162      <command>lvm-cache-stats</command> or <command>vfat-resize</command>
     163      utilities, or wish <application>libblockdev</application> to support
     164      logical volumes.
     165    </para>
     166
     167    <para>
     168      <option>--without-btrfs --without-mdraid --without-tools</option>:
     169      The combination of these switches allows building
     170      <application>libblockdev</application> without
     171      <xref linkend="libbytesize"/> installed.  The
     172      <option>--without-mdraid</option> option will break
     173      <xref linkend="udisks2"/>, so don't use it unless you really know what
     174      you are doing.
     175    </para>
     176
     177    <para>
     178      <option>--without-crypto</option>: This switch allows building
     179      <application>libblockdev</application> without
     180      <xref linkend="cryptsetup"/> or <xref linkend="keyutils"/> installed.
     181      This switch will break <xref linkend="udisks2"/>, so don't use it
     182      unless you really know what you are doing.
     183    </para>
     184
     185    <para>
     186      <option>--without-dm --without-lvm --without-lvm_dbus
     187      --without-mpath</option>: The combination of these switches allows
     188      building <application>libblockdev</application> without
     189      <xref linkend="lvm2"/> installed.  The <option>--without-dm</option>
     190      and <option>--without-mpath</option> options are not in the
     191      instruction in the instruction provided by the book because
     192      <xref linkend="lvm2"/> is required for <xref linkend="cryptsetup"/>
     193      and <xref linkend="cryptsetup"/> is a recommended dependency of
     194      <application>libblockdev</application> anyway.
     195    </para>
     196
     197    <para>
     198      <option>--without-nvme</option>: This switch allows building
     199      <application>libblockdev</application> without
     200      <xref linkend="libnvme"/> installed.  This switch will break
     201      <xref linkend="udisks2"/>, so don't use it unless you really know what
     202      you are doing.
     203    </para>
     204
     205  </sect2>
     206
    143207  <sect2 role="content">
    144208    <title>Contents</title>
     
    151215      <seglistitem>
    152216        <seg>
    153           lvm-cache-stats
     217          lvm-cache-stats and vfat-resize (both optional)
    154218        </seg>
    155219        <seg>
    156220          libbd_btrfs.so,
    157221          libbd_crypto.so,
     222          libbd_dm.so,
    158223          libbd_fs.so,
    159           libbd_kbd.so,
    160224          libbd_loop.so,
    161           libbd_lvm.so,
    162           libbd_lvm-dbus.so,
     225          libbd_lvm.so (optional),
     226          libbd_lvm-dbus.so (optional),
    163227          libbd_mdraid.so,
    164228          libbd_mpath.so,
     229          libbd_nvme.so,
    165230          libbd_part.so,
    166           libbd_part_err.so,
    167231          libbd_swap.so,
    168           libbd_utils.so,
    169           libbd_vdo.so, and
     232          libbd_utils.so, and
    170233          libblockdev.so
    171234        </seg>
     
    173236          /etc/libblockdev,
    174237          /usr/include/blockdev, and
    175           /usr/share/gtk-doc/html/libblockdev
     238          /usr/share/gtk-doc/html/libblockdev (optional)
    176239        </seg>
    177240      </seglistitem>
     
    195258      </varlistentry>
    196259
     260      <varlistentry id="vfat-resize">
     261        <term><command>vfat-resize</command></term>
     262        <listitem>
     263          <para>
     264            resizes <systemitem class="filesystem">vfat</systemitem>
     265            file systems
     266          </para>
     267          <indexterm zone="libblockdev vfat-resize">
     268            <primary sortas="b-vfat-resize">vfat-resize</primary>
     269          </indexterm>
     270        </listitem>
     271      </varlistentry>
    197272    </variablelist>
    198273
Note: See TracChangeset for help on using the changeset viewer.