# 使用 Homebrew 安装 format-udf

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

## 安装

```sh
sudo av install brew:format-udf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install format-udf
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:format-udf
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/format-udf>
- **版本:** 1.8.0
- **来源摘要:** Bash script to format a block device to UDF
- **主页:** <https://github.com/JElchison/format-udf>
- **仓库:** <https://github.com/JElchison/format-udf>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/JElchison/format-udf/archive/refs/tags/1.8.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- format-udf (cli)
- format-udf (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.8.0
- 本地数据: OK
- 上游仓库: https://github.com/JElchison/format-udf
- 检测到的最新版本: 1.8.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

format-udf is a Bash script for formatting block devices as UDF volumes intended to be read and written across Windows, macOS, and Linux. Its README presents it as a compatibility tool for external hard drives and flash drives.

### 项目历史

The GitHub repository was created in August 2014. The README says the project was created to address operating-system-specific quirks that make naively formatted UDF devices fail across platforms, including block-size expectations, partition-table behavior, and macOS full-disk mounting behavior.

### 采用历史

The project remains a focused utility rather than a broad platform. Its official release history shows incremental fixes around OS and device support, including macOS 10.12 support, loop devices, udftools 2.0+, NVMe, and broader block-device handling.

### 使用方式

Users run the script against a Linux device such as /dev/sdx or a macOS device such as /dev/diskN, supplying a volume label. The script detects block size, validates dependencies, can wipe the target, formats with UDF revision 2.01 for compatibility, and writes a fake MBR unless disabled.

### 为什么软件包爱好者会关心

format-udf matters to package nerds because it codifies a pile of cross-platform filesystem edge cases in one auditable shell script. It is the kind of small system package that exists because the underlying native tools are powerful but not friendly to a portable-disk workflow.

### 时间线

- 2014: GitHub repository created.
- 2016: Release added macOS 10.12 support.
- 2018: Release added support for udftools 2.0 and newer.
- 2020: Releases added Linux NVMe and broader block-device support.

### Related projects

- format-udf depends on platform tools such as mkudffs or newfs_udf and wraps Universal Disk Format workflows. Its README discusses the fake-MBR technique used to improve Windows compatibility for whole-disk UDF volumes.

### 来源

- <https://api.github.com/repos/JElchison/format-udf>
- <https://api.github.com/repos/JElchison/format-udf/releases?per_page=10>
- <https://github.com/JElchison/format-udf>
- <https://raw.githubusercontent.com/JElchison/format-udf/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** format-udf
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [tree](https://pkg.so/zh-hans/brew/tree/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [acl](https://pkg.so/zh-hans/brew/acl/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [wimlib](https://pkg.so/zh-hans/brew/wimlib/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [attr](https://pkg.so/zh-hans/brew/attr/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [libfuse](https://pkg.so/zh-hans/brew/libfuse/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [dysk](https://pkg.so/zh-hans/brew/dysk/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [dust](https://pkg.so/zh-hans/brew/dust/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [stow](https://pkg.so/zh-hans/brew/stow/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [dfc](https://pkg.so/zh-hans/brew/dfc/) - Local package facts share a topical domain. Shared terms: cli, disk, filesystem, system.
- [diskonaut](https://pkg.so/zh-hans/brew/diskonaut/) - Local package facts share a topical domain. Shared terms: cli, disk, filesystem, system.
- [diskus](https://pkg.so/zh-hans/brew/diskus/) - Local package facts share a topical domain. Shared terms: cli, disk, filesystem, system.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
