glfs/postlfs/filesystems/dosfstools.xml
Bruce Dubbs 16dcd3d626 Tags for lxde and dependencies
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21188 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-02-17 18:23:01 +00:00

170 lines
5.2 KiB
XML

<?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 dosfstools-download-http "https://github.com/dosfstools/dosfstools/releases/download/v&dosfstools-version;/dosfstools-&dosfstools-version;.tar.xz">
<!ENTITY dosfstools-download-ftp " ">
<!ENTITY dosfstools-md5sum "07a1050db1a898e9a2e03b0c4569c4bd">
<!ENTITY dosfstools-size "176 KB">
<!ENTITY dosfstools-buildsize "2.9 MB">
<!ENTITY dosfstools-time "less than 0.1 SBU">
]>
<sect1 id="dosfstools" xreflabel="dosfstools-&dosfstools-version;">
<?dbhtml filename="dosfstools.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>dosfstools-&dosfstools-version;</title>
<indexterm zone="dosfstools">
<primary sortas="a-dosfstools">dosfstools</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to dosfstools</title>
<para>The <application>dosfstools</application> package contains various
utilities for use with the FAT family of file systems.</para>
&lfs84_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&dosfstools-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&dosfstools-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &dosfstools-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &dosfstools-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &dosfstools-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &dosfstools-time;</para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/dosfstools"/></para>
</sect2>
<sect2 role="kernel" id='dosfstools-kernel'>
<title>Kernel Configuration</title>
<para>Enable the following option in the kernel configuration
and recompile the kernel:</para>
<screen><literal>File systems ---&gt;
&lt;DOS/FAT/NT Filesystems ---&gt;
&lt;*/M&gt; MSDOS fs support [CONFIG_MSDOS_FS]
&lt;*/M&gt; VFAT (Windows-95) fs support [CONFIG_VFAT_FS]</literal></screen>
<indexterm zone="dosfstools dosfstools-kernel">
<primary sortas="d-dosfstools">Dosfstools Programs</primary>
</indexterm>
</sect2>
<sect2 role="installation">
<title>Installation of dosfstools</title>
<para>Install <application>dosfstools</application> by running the
following commands:</para>
<screen><userinput>./configure --prefix=/ \
--enable-compat-symlinks \
--mandir=/usr/share/man \
--docdir=/usr/share/doc/dosfstools-&dosfstools-version; &amp;&amp;
make</userinput></screen>
<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</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>--enable-compat-symlinks</parameter>: This switch creates the
<application>dosfsck</application>,
<application>dosfslabel</application>,
<application>fsck.msdos</application>,
<application>fsck.vfat</application>,
<application>mkdosfs</application>,
<application>mkfs.msdos</application>, and
<application>mkfs.vfat</application> symlinks required by some programs.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<seglistitem>
<seg>fatlabel, fsck.fat, and mkfs.fat</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="fatlabel">
<term><command>fatlabel</command></term>
<listitem>
<para>set or get a MS-DOS filesystem label from a given
device</para>
<indexterm zone="dosfstools fatlabel">
<primary sortas="b-fatlabel">fatlabel</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="fsckfat">
<term><command>fsck.fat</command></term>
<listitem>
<para>check and repair MS-DOS filesystems</para>
<indexterm zone="dosfstools fsckfat">
<primary sortas="b-fsckfat">fsck.fat</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="mkfsfat">
<term><command>mkfs.fat</command></term>
<listitem>
<para>create an MS-DOS filesystem under Linux</para>
<indexterm zone="dosfstools mkfsfat">
<primary sortas="b-mkfsfat">mkfs.fat</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>