This repository was archived by the owner on Mar 9, 2026. It is now read-only.
Releases: tinythings/xmount
Releases · tinythings/xmount
v0.1.0
xmount v0.1.0
NetBSD Support
xmount now supports NetBSD in addition to Linux.
What changed
- Added NetBSD backend using
getmntinfo(3)/getvfsstat(2) - Linux continues to use
/proc/self/mountinfo - Unified snapshot + diff logic across platforms
- OS-specific mount field comparison to prevent false
Changedevents
Platform behavior
Linux
- Reads
/proc/self/mountinfo - Tracks mount ID, parent ID, root, fstype, source, mount options, super options
NetBSD
- Uses kernel APIs (
__getmntinfo13) - Tracks fstype, source, and mount flags (ro/rw, noexec, nosuid, nodev)
- Mount IDs and parent IDs are not available (set to
0) - Root is normalized to
/