Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 dosfstools

查看 dosfstools 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install dosfstools

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install dosfstools

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add dosfstools

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

Debian apt已验证 · 92%
sudo apt install dosfstools

Debian stable package indexes · dosfstools · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install dosfstools

Fedora Rawhide package metadata · dosfstools · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#dosfstools

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

Arch Linux pacman已验证 · 92%
sudo pacman -S dosfstools

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

openSUSE zypper已验证 · 92%
sudo zypper install dosfstools

openSUSE Tumbleweed package metadata · dosfstools · 来源: download.opensuse.org

概览

软件包摘要

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

命令和别名

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

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 构建元数据列出 4 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dosfsckcli全局可执行文件
dosfslabelcli全局可执行文件
fatlabelcli全局可执行文件
fsck.fatcli全局可执行文件
fsck.msdoscli全局可执行文件
fsck.vfatcli全局可执行文件
mkdosfscli全局可执行文件
mkfs.fatcli全局可执行文件
mkfs.msdoscli全局可执行文件
mkfs.vfatcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本4.2
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/dosfstools/dosfstools

安装元数据

软件包元数据

软件包键brew:dosfstools
版本4.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/dosfstools
主页https://github.com/dosfstools
仓库https://github.com/dosfstools/dosfstools
上游文档https://github.com/dosfstools/dosfstools#readme
许可证GPL-3.0-or-later
源码归档https://github.com/dosfstools/dosfstools/releases/download/v4.2/dosfstools-4.2.tar.gz
构建依赖autoconf, automake, gettext, pkgconf
Bottle可用 (于 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未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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