macOS
brew install dosfstoolslocal Homebrew formula metadata
sudo port install dosfstoolsMacPorts ports tree · sysutils/dosfstools/Portfile · source: api.github.com
brew
Tools to create, check and label file systems of the FAT family. Version 4.2 via Homebrew; verified from local package data.
install
brew install dosfstoolslocal Homebrew formula metadata
sudo port install dosfstoolsMacPorts ports tree · sysutils/dosfstools/Portfile · source: api.github.com
sudo apk add dosfstoolsAlpine Linux edge package indexes · dosfstools · source: dl-cdn.alpinelinux.org
sudo apt install dosfstoolsDebian stable package indexes · dosfstools · source: deb.debian.org
sudo dnf install dosfstoolsFedora Rawhide package metadata · dosfstools · source: dl.fedoraproject.org
nix profile install nixpkgs#dosfstoolsnixpkgs package indexes · pkgs/by-name/do/dosfstools/package.nix · source: api.github.com
sudo pacman -S dosfstoolsArch Linux sync databases · dosfstools · source: geo.mirror.pkgbuild.com
sudo zypper install dosfstoolsopenSUSE Tumbleweed package metadata · dosfstools · source: download.opensuse.org
overview
Tools to create, check and label file systems of the FAT family
history
dosfstools is the small system-tool collection behind mkfs.fat, fsck.fat, and fatlabel, used to create, check, and label FAT-family filesystems. It sits at the practical boundary between Unix-like systems and decades of DOS/Windows-compatible removable media.
The official source tree records mkfs.fat lineage beginning with Linus Torvalds in 1991 and fsck.fat lineage beginning with Werner Almesberger in 1993. Later copyright history in the source credits work by Remy Card, David Hudson, H. Peter Anvin, Roman Hodek, Daniel Baumann, Andreas Bombe, and Pali Rohár.
Roman Hodek's 1998 work added or fixed major FAT features such as Atari format support, larger filesystems, and FAT32 support. The modern project now presents itself as a GPLv3-or-later suite consisting of mkfs.fat, fsck.fat, and fatlabel.
The NEWS file shows a portability turn in version 4.0 in 2016: Linux-specific assumptions were reduced, the build moved to autotools, and the tools were tested on FreeBSD and OS X. Version 4.1 added a test suite in 2017, and version 4.2 in 2021 expanded fatlabel behavior, FAT label compatibility, repair prompts, Year 2038 fixes, and many fsck/mkfs correctness details.
dosfstools became infrastructure because FAT filesystems remained common on USB drives, SD cards, firmware update media, cameras, and Windows-compatible exchange volumes. Source facts list packaging across apk, Homebrew, Debian, Fedora, MacPorts, Nix, pacman, Ubuntu, and zypper.
Compatibility symlinks keep older command names such as dosfsck, fsck.msdos, fsck.vfat, mkdosfs, mkfs.msdos, mkfs.vfat, and dosfslabel available for distributions and scripts that predate the current mkfs.fat/fsck.fat/fatlabel naming.
The commands create FAT filesystems, check and repair FAT filesystems, and read or write labels and volume IDs. They are normally used by administrators, installers, image-building scripts, and packaging workflows that need FAT-formatted media or disk images.
Release notes emphasize edge-case correctness: volume label compatibility with MS-DOS and Windows variants, FAT12/FAT16/FAT32 cluster handling, sparse-file test images, CHS geometry for SD cards, MBR helper behavior, and repair behavior for corrupt FAT tables.
dosfstools is package-nerd significant because it is boring in exactly the valuable way: a tiny suite of root-adjacent utilities that must encode filesystem folklore from DOS, Windows, Linux, SD cards, Atari variants, and old command names.
The 2016 portability work is especially relevant for Homebrew and MacPorts: it turned a historically Linux-centered tool into something more natural to ship on other Unix-like systems.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
dosfsck | cli | global executable | |
dosfslabel | cli | global executable | |
fatlabel | cli | global executable | |
fsck.fat | cli | global executable | |
fsck.msdos | cli | global executable | |
fsck.vfat | cli | global executable | |
mkdosfs | cli | global executable | |
mkfs.fat | cli | global executable | |
mkfs.msdos | cli | global executable | |
mkfs.vfat | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/dosfstools/dosfstools
install metadata
| Package key | brew:dosfstools |
|---|---|
| Version | 4.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/dosfstools |
| Homepage | https://github.com/dosfstools |
| Repository | https://github.com/dosfstools/dosfstools |
| Upstream docs | https://github.com/dosfstools/dosfstools#readme |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/dosfstools/dosfstools/releases/download/v4.2/dosfstools-4.2.tar.gz |
| Build dependencies | autoconf, automake, gettext, pkgconf |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dosfstools |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
dosfstools 4.2-1.2
utilities for making and checking MS-DOS FAT filesystems
https://github.com/dosfstools/dosfstools
sudo apt install dosfstoolsdosfstools
nix profile install nixpkgs#dosfstoolsdosfstools 4.2-1.1build1
utilities for making and checking MS-DOS FAT filesystems
https://github.com/dosfstools/dosfstools
sudo apt install dosfstoolsdosfstools 4.2-r2
DOS filesystem utilities
https://github.com/dosfstools/dosfstools
sudo apk add dosfstoolsdosfstools-doc 4.2-r2
DOS filesystem utilities (documentation)
https://github.com/dosfstools/dosfstools
sudo apk add dosfstools-docdosfstools 4.2-18.fc44
Utilities for making and checking MS-DOS FAT filesystems on Linux
https://github.com/dosfstools/dosfstools
sudo dnf install dosfstoolsdosfstools 4.2-5
DOS filesystem utilities
https://github.com/dosfstools/dosfstools
sudo pacman -S dosfstoolsdosfstools 4.2-4.11
Utilities for Making and Checking MS-DOS FAT File Systems on Linux
https://github.com/dosfstools/dosfstools
sudo zypper install dosfstoolsdosfstools
sudo port install dosfstoolssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.