Add AIX support#354
Open
librepower wants to merge 1 commit into
Open
Conversation
- Add filesystems_aix.go for filesystem type detection (network, special, fuse) - Add mounts_aix.go for mount enumeration via mount command and Statfs syscall Tested on AIX 7.3 TL4 (POWER9) with full color output. Contributed by LibrePower (https://librepower.org)
librepower
pushed a commit
to librepower/aix
that referenced
this pull request
Jan 12, 2026
New packages: - duf 0.9.1: Modern disk usage utility with colorful output - gron 0.7.1: Make JSON greppable - yq 4.40.5: YAML/JSON/XML processor (like jq for YAML) - age 1.2.0: Simple, modern file encryption - ripgrep 14.1.1: Fast grep alternative (already in repo, added to index) All packages built with Go 1.24.11 (official) on AIX 7.3 TL4. duf AIX support PR: muesli/duf#354
librepower
pushed a commit
to librepower/aix
that referenced
this pull request
Jan 29, 2026
New packages: - duf 0.9.1: Modern disk usage utility with colorful output - gron 0.7.1: Make JSON greppable - yq 4.40.5: YAML/JSON/XML processor (like jq for YAML) - age 1.2.0: Simple, modern file encryption - ripgrep 14.1.1: Fast grep alternative (already in repo, added to index) All packages built with Go 1.24.11 (official) on AIX 7.3 TL4. duf AIX support PR: muesli/duf#354
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add AIX support
Summary
This PR adds support for IBM AIX operating system.
Changes
filesystems_aix.go: AIX-specific filesystem type detectionmounts_aix.go: Mount point enumeration using AIX'smountcommand andstatfssyscallImplementation Notes
AIX doesn't have
/proc/self/mountinfolike Linux orGetfsstatlike BSD, so the implementation parses the output of themountcommand and usesunix.Statfsfor filesystem statistics.Filesystem Types
Testing
Tested on AIX 7.3 TL4 (POWER9):
Build
Notes
golang.org/x/sys/unixwhich already has full AIX supportContributed by LibrePower - Open source tools for IBM Power systems.