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