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