[7f8e546a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[83cca617] | 7 | <!ENTITY dosfstools-download-http "https://github.com/dosfstools/dosfstools/releases/download/v&dosfstools-version;/dosfstools-&dosfstools-version;.tar.gz">
|
---|
[7f8e546a] | 8 | <!ENTITY dosfstools-download-ftp " ">
|
---|
[83cca617] | 9 | <!ENTITY dosfstools-md5sum "49c8e457327dc61efab5b115a27b087a">
|
---|
| 10 | <!ENTITY dosfstools-size "314 KB">
|
---|
| 11 | <!ENTITY dosfstools-buildsize "3.5 MB">
|
---|
[7f8e546a] | 12 | <!ENTITY dosfstools-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="dosfstools" xreflabel="dosfstools-&dosfstools-version;">
|
---|
| 16 | <?dbhtml filename="dosfstools.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>dosfstools-&dosfstools-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="dosfstools">
|
---|
| 22 | <primary sortas="a-dosfstools">dosfstools</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to dosfstools</title>
|
---|
| 27 |
|
---|
[29244b7] | 28 | <para>
|
---|
| 29 | The <application>dosfstools</application> package contains various
|
---|
| 30 | utilities for use with the FAT family of file systems.
|
---|
| 31 | </para>
|
---|
[7f8e546a] | 32 |
|
---|
[cfd4fa8] | 33 | &lfs113_checked;
|
---|
[7f8e546a] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
[29244b7] | 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&dosfstools-download-http;"/>
|
---|
| 40 | </para>
|
---|
[7f8e546a] | 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
[29244b7] | 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&dosfstools-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
[7f8e546a] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[29244b7] | 48 | <para>
|
---|
| 49 | Download MD5 sum: &dosfstools-md5sum;
|
---|
| 50 | </para>
|
---|
[7f8e546a] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[29244b7] | 53 | <para>
|
---|
| 54 | Download size: &dosfstools-size;
|
---|
| 55 | </para>
|
---|
[7f8e546a] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[29244b7] | 58 | <para>
|
---|
| 59 | Estimated disk space required: &dosfstools-buildsize;
|
---|
| 60 | </para>
|
---|
[7f8e546a] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[29244b7] | 63 | <para>
|
---|
| 64 | Estimated build time: &dosfstools-time;
|
---|
| 65 | </para>
|
---|
[7f8e546a] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 |
|
---|
| 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 role="kernel" id='dosfstools-kernel'>
|
---|
| 73 | <title>Kernel Configuration</title>
|
---|
| 74 |
|
---|
[29244b7] | 75 | <para>
|
---|
| 76 | Enable the following option in the kernel configuration
|
---|
| 77 | and recompile the kernel:
|
---|
| 78 | </para>
|
---|
[7f8e546a] | 79 |
|
---|
| 80 | <screen><literal>File systems --->
|
---|
[f39cf0d0] | 81 | <DOS/FAT/EXFAT/NT Filesystems --->
|
---|
[a705dae] | 82 | <*/M> MSDOS fs support [CONFIG_MSDOS_FS]
|
---|
[7f8e546a] | 83 | <*/M> VFAT (Windows-95) fs support [CONFIG_VFAT_FS]</literal></screen>
|
---|
| 84 |
|
---|
| 85 | <indexterm zone="dosfstools dosfstools-kernel">
|
---|
| 86 | <primary sortas="d-dosfstools">Dosfstools Programs</primary>
|
---|
| 87 | </indexterm>
|
---|
| 88 |
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of dosfstools</title>
|
---|
| 93 |
|
---|
[29244b7] | 94 | <para>
|
---|
| 95 | Install <application>dosfstools</application> by running the
|
---|
| 96 | following commands:
|
---|
| 97 | </para>
|
---|
[7f8e546a] | 98 |
|
---|
[cd73bb8] | 99 | <screen><userinput>./configure --prefix=/usr \
|
---|
[7f8e546a] | 100 | --enable-compat-symlinks \
|
---|
| 101 | --mandir=/usr/share/man \
|
---|
| 102 | --docdir=/usr/share/doc/dosfstools-&dosfstools-version; &&
|
---|
| 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
[29244b7] | 105 | <para>
|
---|
[cfde9651] | 106 | To test the results, issue: <command>make check</command>.
|
---|
[29244b7] | 107 | </para>
|
---|
[7f8e546a] | 108 |
|
---|
[29244b7] | 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
[7f8e546a] | 112 |
|
---|
| 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | <parameter>--enable-compat-symlinks</parameter>: This switch creates the
|
---|
| 122 | <application>dosfsck</application>,
|
---|
| 123 | <application>dosfslabel</application>,
|
---|
| 124 | <application>fsck.msdos</application>,
|
---|
| 125 | <application>fsck.vfat</application>,
|
---|
| 126 | <application>mkdosfs</application>,
|
---|
| 127 | <application>mkfs.msdos</application>, and
|
---|
| 128 | <application>mkfs.vfat</application> symlinks required by some programs.
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="content">
|
---|
| 134 | <title>Contents</title>
|
---|
| 135 |
|
---|
| 136 | <segmentedlist>
|
---|
| 137 | <segtitle>Installed Programs</segtitle>
|
---|
| 138 |
|
---|
| 139 | <seglistitem>
|
---|
| 140 | <seg>fatlabel, fsck.fat, and mkfs.fat</seg>
|
---|
| 141 | </seglistitem>
|
---|
| 142 | </segmentedlist>
|
---|
| 143 |
|
---|
| 144 | <variablelist>
|
---|
| 145 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 146 | <?dbfo list-presentation="list"?>
|
---|
| 147 | <?dbhtml list-presentation="table"?>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="fatlabel">
|
---|
| 150 | <term><command>fatlabel</command></term>
|
---|
| 151 | <listitem>
|
---|
[29244b7] | 152 | <para>
|
---|
[4c24eb0a] | 153 | sets or gets a MS-DOS filesystem label from a given device
|
---|
[29244b7] | 154 | </para>
|
---|
[7f8e546a] | 155 | <indexterm zone="dosfstools fatlabel">
|
---|
| 156 | <primary sortas="b-fatlabel">fatlabel</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="fsckfat">
|
---|
| 162 | <term><command>fsck.fat</command></term>
|
---|
| 163 | <listitem>
|
---|
[29244b7] | 164 | <para>
|
---|
[4c24eb0a] | 165 | checks and repairs MS-DOS filesystems
|
---|
[29244b7] | 166 | </para>
|
---|
[7f8e546a] | 167 | <indexterm zone="dosfstools fsckfat">
|
---|
| 168 | <primary sortas="b-fsckfat">fsck.fat</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="mkfsfat">
|
---|
| 174 | <term><command>mkfs.fat</command></term>
|
---|
| 175 | <listitem>
|
---|
[29244b7] | 176 | <para>
|
---|
[4c24eb0a] | 177 | creates an MS-DOS filesystem under Linux
|
---|
[29244b7] | 178 | </para>
|
---|
[7f8e546a] | 179 | <indexterm zone="dosfstools mkfsfat">
|
---|
| 180 | <primary sortas="b-mkfsfat">mkfs.fat</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | </variablelist>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|
| 188 |
|
---|
| 189 | </sect1>
|
---|