# dosfstools mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für dosfstools in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:dosfstools
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install dosfstools
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dosfstools
```

  Evidenz: MacPorts ports tree: sysutils/dosfstools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dosfstools
```

  Evidenz: Alpine Linux edge package indexes: dosfstools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install dosfstools
```

  Evidenz: Debian stable package indexes: dosfstools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install dosfstools
```

  Evidenz: Fedora Rawhide package metadata: dosfstools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dosfstools
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/do/dosfstools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S dosfstools
```

  Evidenz: Arch Linux sync databases: dosfstools from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install dosfstools
```

  Evidenz: openSUSE Tumbleweed package metadata: dosfstools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:dosfstools
- **Paketmanager:** Homebrew
- **Version:** 4.2
- **Quellzusammenfassung:** Tools to create, check and label file systems of the FAT family
- **Homepage:** <https://github.com/dosfstools>
- **Repository:** <https://github.com/dosfstools/dosfstools>
- **Zuletzt aktualisiert:** 2026-08-02T15:56:45+09:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- dosfsck (Alias)
- dosfslabel (Alias)
- fatlabel (Alias)
- fsck.fat (Alias)
- fsck.msdos (Alias)
- fsck.vfat (Alias)
- mkdosfs (Alias)
- mkfs.fat (Alias)
- mkfs.msdos (Alias)
- mkfs.vfat (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 4.2
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

- <https://github.com/dosfstools/dosfstools>
- <https://raw.githubusercontent.com/dosfstools/dosfstools/master/NEWS>
- <https://raw.githubusercontent.com/dosfstools/dosfstools/master/src/mkfs.fat.c>
- <https://raw.githubusercontent.com/dosfstools/dosfstools/master/src/fsck.fat.c>
- <https://formulae.brew.sh/formula/dosfstools>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- Debian apt - dosfstools - 4.2-1.2: normalized package name match | Debian stable package indexes: dosfstools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | utilities for making and checking MS-DOS FAT filesystems | https://github.com/dosfstools/dosfstools
- Nix - dosfstools: normalized package name match | nixpkgs package indexes: pkgs/by-name/do/dosfstools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dosfstools - 4.2-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: dosfstools from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | utilities for making and checking MS-DOS FAT filesystems | https://github.com/dosfstools/dosfstools
- apk - dosfstools - 4.2-r2: normalized package name match | Alpine Linux edge package indexes: dosfstools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | DOS filesystem utilities | https://github.com/dosfstools/dosfstools
- apk - dosfstools-doc - 4.2-r2: normalized package name match | Alpine Linux edge package indexes: dosfstools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | DOS filesystem utilities (documentation) | https://github.com/dosfstools/dosfstools
- dnf - dosfstools - 4.2-19.fc45: normalized package name match | Fedora Rawhide package metadata: dosfstools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Utilities for making and checking MS-DOS FAT filesystems on Linux | https://github.com/dosfstools/dosfstools
- pacman - dosfstools - 4.2-5: normalized package name match | Arch Linux sync databases: dosfstools from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | DOS filesystem utilities | https://github.com/dosfstools/dosfstools
- zypper - dosfstools - 4.2-4.13: normalized package name match | openSUSE Tumbleweed package metadata: dosfstools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Utilities for Making and Checking MS-DOS FAT File Systems on Linux | https://github.com/dosfstools/dosfstools
- MacPorts - dosfstools: normalized package name match | MacPorts ports tree: sysutils/dosfstools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/dosfstools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dosfstools.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
