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