Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add FreeBSD ARM support. #28

Open
wants to merge 1 commit into
base: dd
Choose a base branch
from
Open

add FreeBSD ARM support. #28

wants to merge 1 commit into from

Conversation

urosgruber
Copy link

No description provided.

Device: common.IntToString(stat.Mntfromname[:]),
Mountpoint: common.IntToString(stat.Mntonname[:]),
Fstype: common.IntToString(stat.Fstypename[:]),
Device: common.ByteToString(stat.Mntfromname[:]),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on 386 and amd64, Statfs.Mntfromname is [88]int8 so this cannot be ByteToString. I also don't see the generated types in disk_freebsd_arm64.go.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, looks like upstream the type was changed to unix.Statfs_t which would work with your changes. Doesn't change that this PR won't build as-is.

Copy link
Member

@brycekahle brycekahle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing generated types and will not build as written.

@brycekahle brycekahle added the upstreamed change has been merged upstream label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstreamed change has been merged upstream
Projects
None yet
2 participants