Skip to content

v1.0.4

Choose a tag to compare

@github-actions github-actions released this 20 Apr 01:33
· 24 commits to main since this release

Highlights

Improved disk space reporting (for df -h, SMB clients, Finder)

PolicyFS can now report a more intuitive, pooled view of available space for a mount, instead of reflecting a single underlying filesystem.

New per-mount options:

  • mounts.<name>.statfs.reporting
    • mount_pooled_targets (default): mount-wide pooled stats using the union of all write targets across all routing rules
    • path_pooled_targets: path-aware pooled stats using write targets resolved for the queried path
  • mounts.<name>.statfs.on_error
    • Defaults to ignore_failed (existing error policies remain supported)

Docs: https://docs.policyfs.org/config/#statfs

FUSE: more accurate errno propagation

FUSE operations now unwrap and propagate underlying errno more reliably, improving correctness and making failures easier to diagnose.

Added integration coverage:

  • tests/integration/fuse_errno_propagation_test.go

pfs doctor: better visibility into permission issues

pfs doctor now reports recent permission-related errors to help debug "it works for root but not for my apps" situations.

Docs: https://docs.policyfs.org/commands/doctor/


Notes

  • mount_pooled_targets is recommended if you want stable, mount-wide numbers that match user expectations for df/SMB.
  • path_pooled_targets may report different totals between directories by design (it follows routing semantics).

Full Changelog: v1.0.3...v1.0.4