Automic VaultAutomic Vault

brew

Install dosfstools with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Tools to create, check and label file systems of the FAT family. Version 4.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dosfstools

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install dosfstools

MacPorts ports tree · sysutils/dosfstools/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add dosfstools

Alpine Linux edge package indexes · dosfstools · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install dosfstools

Debian stable package indexes · dosfstools · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install dosfstools

Fedora Rawhide package metadata · dosfstools · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#dosfstools

nixpkgs package indexes · pkgs/by-name/do/dosfstools/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S dosfstools

Arch Linux sync databases · dosfstools · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install dosfstools

openSUSE Tumbleweed package metadata · dosfstools · source: download.opensuse.org

overview

Package summary

Tools to create, check and label file systems of the FAT family

Commands and aliases

  • dosfsck
  • dosfslabel
  • fatlabel
  • fsck.fat
  • fsck.msdos
  • fsck.vfat
  • mkdosfs
  • mkfs.fat
  • mkfs.msdos
  • mkfs.vfat

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1991: mkfs.fat lineage begins with Linus Torvalds' FAT/MS-DOS filesystem creation utility.
  • 1993: fsck.fat lineage begins with Werner Almesberger's FAT checker.
  • 1998: Roman Hodek adds Atari format support, FAT32 support, and large-filesystem work.
  • 2015: Version 3.0.28 makes fsck.fat default to interactive repair mode.
  • 2016: Version 4.0 makes the tools portable beyond Linux and converts the build to autotools.
  • 2017: Version 4.1 adds a test suite.
  • 2021: Version 4.2 expands fatlabel, fsck, mkfs, compatibility, and Year 2038 handling.

Related projects

  • dosfstools is related to the Linux FAT/vfat/msdos filesystem stack, mtools, historical DOS/Windows FAT implementations, SD-card formatting expectations, and the older compatibility command names dosfsck, mkdosfs, and dosfslabel.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Build metadata lists 4 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
dosfsckcliglobal executable
dosfslabelcliglobal executable
fatlabelcliglobal executable
fsck.fatcliglobal executable
fsck.msdoscliglobal executable
fsck.vfatcliglobal executable
mkdosfscliglobal executable
mkfs.fatcliglobal executable
mkfs.msdoscliglobal executable
mkfs.vfatcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version4.2
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/dosfstools/dosfstools

install metadata

Package metadata

Package keybrew:dosfstools
Version4.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dosfstools
Homepagehttps://github.com/dosfstools
Repositoryhttps://github.com/dosfstools/dosfstools
Upstream docshttps://github.com/dosfstools/dosfstools#readme
LicenseGPL-3.0-or-later
Source archivehttps://github.com/dosfstools/dosfstools/releases/download/v4.2/dosfstools-4.2.tar.gz
Build dependenciesautoconf, automake, gettext, pkgconf
Bottleavailable (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-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedosfstools
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

dosfstools 4.2-1.2

utilities for making and checking MS-DOS FAT filesystems

https://github.com/dosfstools/dosfstools

sudo apt install dosfstools
  • Section: otherosfs
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Dosfstools
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dosfstools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

dosfstools

nix profile install nixpkgs#dosfstools
  • normalized package name match
  • Matched by: Dosfstools
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/do/dosfstools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

dosfstools 4.2-1.1build1

utilities for making and checking MS-DOS FAT filesystems

https://github.com/dosfstools/dosfstools

sudo apt install dosfstools
  • Section: otherosfs
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Dosfstools
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dosfstools from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

dosfstools 4.2-r2

DOS filesystem utilities

https://github.com/dosfstools/dosfstools

sudo apk add dosfstools
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: dosfstools
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Dosfstools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dosfstools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

dosfstools-doc 4.2-r2

DOS filesystem utilities (documentation)

https://github.com/dosfstools/dosfstools

sudo apk add dosfstools-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: dosfstools
  • normalized package name match
  • Matched by: Dosfstools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dosfstools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

dosfstools 4.2-18.fc44

Utilities for making and checking MS-DOS FAT filesystems on Linux

https://github.com/dosfstools/dosfstools

sudo dnf install dosfstools
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: dosfstools
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Dosfstools
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: dosfstools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

dosfstools 4.2-5

DOS filesystem utilities

https://github.com/dosfstools/dosfstools

sudo pacman -S dosfstools
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Dosfstools
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: dosfstools from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

dosfstools 4.2-4.11

Utilities for Making and Checking MS-DOS FAT File Systems on Linux

https://github.com/dosfstools/dosfstools

sudo zypper install dosfstools
  • License: GPL-3.0-or-later
  • Category: System/Filesystems
  • Architecture: x86_64
  • Source Package: dosfstools
  • 1 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Dosfstools
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: dosfstools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

dosfstools

sudo port install dosfstools
  • normalized package name match
  • Matched by: Dosfstools
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/dosfstools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment