# 使用 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
- **版本:** 1.8.0
- **来源摘要:** Bash script to format a block device to UDF
- **主页:** <https://github.com/JElchison/format-udf>
- **仓库:** <https://github.com/JElchison/format-udf>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- format-udf (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.8.0
## 项目历史与用法

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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
