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

Support NetBSD 10+ version of struct statvfs #4277

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

Conversation

0-wiz-0
Copy link
Contributor

@0-wiz-0 0-wiz-0 commented Feb 21, 2025

Description

In #4265 (comment) it was suggested to update the NetBSD struct statvfs code for changes in NetBSD 10.

See https://mail-index.netbsd.org/source-changes/2019/09/22/msg109266.html

I tested this code on NetBSD 10.99.12/x86_64 with bespoke test programs for fstatvfs, getmntinfo, getvfsstat, and statvfs.

This code is not ready to merge yet, since it doesn't work on NetBSD 9, and I need some guidance on how to handle this.
Should we add versioning support like freebsd12 etc. or is some other method preferred?

@rustbot
Copy link
Collaborator

rustbot commented Feb 21, 2025

r? @tgross35

rustbot has assigned @tgross35.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@0-wiz-0 0-wiz-0 changed the title Support NetBSD 10+ version of struct vfsstat. Support NetBSD 10+ version of struct statvfs Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants