1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 "4.5 MB (with tests)">
|
---|
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 | &lfs122_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 |
|
---|
70 | </sect2>
|
---|
71 |
|
---|
72 | <sect2 role="kernel" id='dosfstools-kernel'>
|
---|
73 | <title>Kernel Configuration</title>
|
---|
74 |
|
---|
75 | <para>
|
---|
76 | Enable the following option in the kernel configuration
|
---|
77 | and recompile the kernel if you need to mount a FAT-family filesystem:
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
81 | href="dosfstools-kernel.xml"/>
|
---|
82 |
|
---|
83 | <para>
|
---|
84 | Note that <option>CONFIG_MSDOS_FS</option> deliberately does not
|
---|
85 | support long file names. <option>CONFIG_VFAT_FS</option> should be
|
---|
86 | used instead unless you really want to enforce the DOS-style
|
---|
87 | <quote>8.3</quote> file names.
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <para>
|
---|
91 | You can mount a FAT-family filesystem once the kernel supports it.
|
---|
92 | If you don't need to create, check, or relabel a FAT-family system,
|
---|
93 | you may skip this package.
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <indexterm zone="dosfstools dosfstools-kernel">
|
---|
97 | <primary sortas="d-fat">FAT Support in Kernel</primary>
|
---|
98 | </indexterm>
|
---|
99 |
|
---|
100 | </sect2>
|
---|
101 |
|
---|
102 | <sect2 role="installation">
|
---|
103 | <title>Installation of dosfstools</title>
|
---|
104 |
|
---|
105 | <para>
|
---|
106 | Install <application>dosfstools</application> by running the
|
---|
107 | following commands:
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <screen><userinput>./configure --prefix=/usr \
|
---|
111 | --enable-compat-symlinks \
|
---|
112 | --mandir=/usr/share/man \
|
---|
113 | --docdir=/usr/share/doc/dosfstools-&dosfstools-version; &&
|
---|
114 | make</userinput></screen>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | To test the results, issue: <command>make check</command>.
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | <para>
|
---|
121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
125 |
|
---|
126 | </sect2>
|
---|
127 |
|
---|
128 | <sect2 role="commands">
|
---|
129 | <title>Command Explanations</title>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | <parameter>--enable-compat-symlinks</parameter>: This switch creates the
|
---|
133 | <application>dosfsck</application>,
|
---|
134 | <application>dosfslabel</application>,
|
---|
135 | <application>fsck.msdos</application>,
|
---|
136 | <application>fsck.vfat</application>,
|
---|
137 | <application>mkdosfs</application>,
|
---|
138 | <application>mkfs.msdos</application>, and
|
---|
139 | <application>mkfs.vfat</application> symlinks required by some programs.
|
---|
140 | </para>
|
---|
141 |
|
---|
142 | </sect2>
|
---|
143 |
|
---|
144 | <sect2 role="content">
|
---|
145 | <title>Contents</title>
|
---|
146 |
|
---|
147 | <segmentedlist>
|
---|
148 | <segtitle>Installed Programs</segtitle>
|
---|
149 |
|
---|
150 | <seglistitem>
|
---|
151 | <seg>fatlabel, fsck.fat, and mkfs.fat</seg>
|
---|
152 | </seglistitem>
|
---|
153 | </segmentedlist>
|
---|
154 |
|
---|
155 | <variablelist>
|
---|
156 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
157 | <?dbfo list-presentation="list"?>
|
---|
158 | <?dbhtml list-presentation="table"?>
|
---|
159 |
|
---|
160 | <varlistentry id="fatlabel">
|
---|
161 | <term><command>fatlabel</command></term>
|
---|
162 | <listitem>
|
---|
163 | <para>
|
---|
164 | sets or gets a MS-DOS filesystem label from a given device
|
---|
165 | </para>
|
---|
166 | <indexterm zone="dosfstools fatlabel">
|
---|
167 | <primary sortas="b-fatlabel">fatlabel</primary>
|
---|
168 | </indexterm>
|
---|
169 | </listitem>
|
---|
170 | </varlistentry>
|
---|
171 |
|
---|
172 | <varlistentry id="fsckfat">
|
---|
173 | <term><command>fsck.fat</command></term>
|
---|
174 | <listitem>
|
---|
175 | <para>
|
---|
176 | checks and repairs MS-DOS filesystems
|
---|
177 | </para>
|
---|
178 | <indexterm zone="dosfstools fsckfat">
|
---|
179 | <primary sortas="b-fsckfat">fsck.fat</primary>
|
---|
180 | </indexterm>
|
---|
181 | </listitem>
|
---|
182 | </varlistentry>
|
---|
183 |
|
---|
184 | <varlistentry id="mkfsfat">
|
---|
185 | <term><command>mkfs.fat</command></term>
|
---|
186 | <listitem>
|
---|
187 | <para>
|
---|
188 | creates an MS-DOS filesystem under Linux
|
---|
189 | </para>
|
---|
190 | <indexterm zone="dosfstools mkfsfat">
|
---|
191 | <primary sortas="b-mkfsfat">mkfs.fat</primary>
|
---|
192 | </indexterm>
|
---|
193 | </listitem>
|
---|
194 | </varlistentry>
|
---|
195 |
|
---|
196 | </variablelist>
|
---|
197 |
|
---|
198 | </sect2>
|
---|
199 |
|
---|
200 | </sect1>
|
---|