Skip to content

ufs

Unix File System (BSD).

Implements filesystem.Filesystem. No cgo, no root.

Status

Read Write Format Label Symlinks On-disk format
UFS2 (FreeBSD 14.x) read+write; UFS1 read

Supported

  • Read + write (OpenRW) and fresh format (Mkfs)
  • Superblock/inode decode, directory walk
  • Direct + single/double indirect blocks
  • Inline & spilled symlinks, sparse holes

Not implemented

  • Triple-indirect blocks unsupported (ErrUnsupportedIndirect)

Install

go get github.com/go-filesystems/ufs

Note

See the module's README for full, up-to-date details.