# 使用 Homebrew, apt, Nix 安装 unyaffs

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

## 安装

```sh
sudo av install brew:unyaffs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install unyaffs
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install unyaffs
```

  证据: Debian stable package indexes: unyaffs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#unyaffs
```

  证据: nixpkgs package indexes: pkgs/by-name/un/unyaffs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:unyaffs
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/unyaffs>
- **版本:** 0.9.7
- **来源摘要:** Extract files from a YAFFS2 filesystem image
- **主页:** <https://packages.debian.org/sid/unyaffs>
- **上游文档:** <https://packages.debian.org/sid/unyaffs>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://deb.debian.org/debian/pool/main/u/unyaffs/unyaffs_0.9.7.orig.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- unyaffs (cli)
- unyaffs (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.9.7
- 本地数据: OK
- 上游仓库: https://packages.debian.org/sid/unyaffs
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

unyaffs is a small extractor for YAFFS2 filesystem images, mainly useful to people inspecting embedded or Android-era NAND flash images rather than to general archive users.

### 项目历史

The available upstream README says unyaffs was based on work from the YAFFS project, that the original implementation was by Kai Wei and hosted on Google Code, and that Bernhard Ehlers started a fork after the original project became inactive. A public mirror records the project as an extraction tool for YAFFS2 images created by mkyaffs2image.

The source-level history in the public mirror records v0.8 in August 2011 and v0.9 in September 2011. The README presents it as a conventional C utility for Unix-like systems with a make-based build.

### 采用历史

Homebrew, Debian, Nix, and Ubuntu packaging in the supplied input show that unyaffs stayed available mostly through distribution package sets. That is typical for firmware-forensics utilities: small upstream, occasional packaging, and long shelf life because old image formats continue to appear.

### 使用方式

The README documents extraction of all files from a YAFFS2 filesystem image, optional layout selection, listing without extraction, verbose listings, standard-input support, and restoration of permissions, times, ownership, links, and special files where the host OS permits it.

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

The package is notable in a narrow niche: unpacking historical Android, embedded Linux, and NAND-flash images where YAFFS2 appears. Package maintainers care because it provides a single-purpose CLI that can be installed from general-purpose package managers instead of being recovered from archived Google Code downloads.

### 时间线

- 2008: Source comments in the mirrored code record an initial version upload to Google Code.
- 2011: v0.8 and v0.9 tags appear in the public mirror.
- 2011: Public mirror repository created.
- 2026: Homebrew input still lists unyaffs as packaged.

### Related projects

- The README ties unyaffs to the YAFFS project and mkyaffs2image. Other tools in the same niche include yaffs2utils and YAFFS parsers, but those are outside the official unyaffs sources used here.

### 来源

- <https://github.com/whataday/unyaffs>
- <https://raw.githubusercontent.com/whataday/unyaffs/master/README>
- <https://raw.githubusercontent.com/whataday/unyaffs/master/unyaffs.c>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

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

## 其他软件包管理器记录

- Debian apt - unyaffs - 0.9.7-1: normalized package name match | Debian stable package indexes: unyaffs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Extracts files from a YAFFS2 filesystem image | https://github.com/ehlers/unyaffs
- Nix - unyaffs: normalized package name match | nixpkgs package indexes: pkgs/by-name/un/unyaffs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - unyaffs - 0.9.7-0.2: normalized package name match | Ubuntu 24.04 LTS package indexes: unyaffs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Extracts files from a YAFFS2 filesystem image | https://github.com/ehlers/unyaffs


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics 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.
- [mdf2iso](https://pkg.so/zh-hans/brew/mdf2iso/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, system.
- [tmpreaper](https://pkg.so/zh-hans/brew/tmpreaper/) - Local package facts share a topical domain. Shared terms: cli, files, system.
- [kanif](https://pkg.so/zh-hans/brew/kanif/) - Local package facts share a topical domain. Shared terms: cli, system.

## Combined YAML source

View the package source record on GitHub. [combined/unyaffs.yml](https://github.com/mxcl/pkgdb/blob/main/combined/unyaffs.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
- external package-manager database matches
- cross-ecosystem install command graph
