xfs

High-performance journaling filesystem.
Implements filesystem.Filesystem. No cgo, no root.
Status
| Read | Write | Format | Label | Symlinks | On-disk format |
|---|---|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ | ✅ | XFS v5 (CRC32c, ftype) |
Supported
- Read/write files
- Directories, rename, symlinks
- MBR/GPT auto-detect
- Volume label (
Labeller) - Grow — shrink returns
ErrShrinkUnsupported
Install
go get github.com/go-filesystems/xfs
- Source: https://github.com/go-filesystems/xfs
- API reference: https://pkg.go.dev/github.com/go-filesystems/xfs
Note
See the module's README for full, up-to-date details.