1
0
Fork 0
mirror of https://github.com/dosfstools/dosfstools.git synced 2025-12-05 22:37:04 +00:00
dosfstools consists of the programs mkfs.fat, fsck.fat and fatlabel to create, check and label file systems of the FAT family.
Find a file
Maxim Suhanov 289a48b9cb manpages: Include the security considerations section to the fsck.fat
documentation

Signed-off-by: Maxim Suhanov <dfirblog@gmail.com>
2023-10-10 00:34:43 +03:00
bin Adding Nindent script from syslinux. 2013-01-23 12:51:29 +01:00
doc Fix typos 2023-01-16 12:06:00 +00:00
manpages manpages: Include the security considerations section to the fsck.fat 2023-10-10 00:34:43 +03:00
src Fix vasprintf implementation 2023-05-05 11:57:33 +00:00
tests mkfs.fat: Handle case of bad root cluster 2023-04-26 11:59:21 +00:00
.gitignore charconv: Add autogen.sh script 2019-06-23 10:47:44 +02:00
.travis.yml travis: Include Ubuntu Bionic and Ubuntu Focal 2021-02-06 00:41:46 +01:00
autogen.sh charconv: Add autogen.sh script 2019-06-23 10:47:44 +02:00
ChangeLog Releasing version 4.2 2021-01-31 13:26:15 +01:00
configure.ac Fix building on macos 2021-08-20 22:30:15 +08:00
COPYING Adding new GPL license file. 2013-01-23 12:50:22 +01:00
Makefile.am Add missing files into distribution tarball 2021-01-31 13:26:03 +01:00
NEWS Releasing version 4.2 2021-01-31 13:26:15 +01:00
README mkfs.fat: Remove dependency on systemd/udev 2021-01-03 22:18:21 +01:00
README.md mkfs.fat: Remove dependency on systemd/udev 2021-01-03 22:18:21 +01:00

dosfstools consists of the programs mkfs.fat, fsck.fat and fatlabel to create, check and label file systems of the FAT family. The dosfstools are licensed under the GNU GPL version 3 or later. See the file COPYING for details.

Build Requirements

The test suite requires the tool xxd (available as part of the vim distribution).

Installing

dosfstools are built using an autoconf/automake system, so the standard method applies:

./configure
make
make install

You need to have superuser privileges in order to install into the standard system wide locations.

The ./configure script has an option --enable-compat-symlinks that will configure the build to symlink older names of the tools to the current ones on installation. These are dosfsck, fsck.msdos and fsck.vfat for fsck.fat, mkdosfs, mkfs.msdos and mkfs.vfat for mkfs.fat and dosfslabel for fatlabel.

Running the test suite

The test suite can be run with make check after configuring. Note that if xxd isn't available, all tests will be skipped and nothing actually tested.

During the tests temporary files of multiple GB in size will be created, but the actual data content is not more than a few MB. The operating system and the filesystem the tests are executed on should support sparse files, otherwise the tests will be resource intensive.

Building from the VCS repository

If you are working directly from a git clone of the official dosfstools repository, you will find that you can not run ./configure straight away because it, like other autogenerated files for the build system, is not included in the repository.

First, autoconf, automake and gettext have to be installed. Then you can run ./autogen.sh to generate all the required files.