-
Notifications
You must be signed in to change notification settings - Fork 986
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
NetBSD supports statvfs #49
Comments
Thanks! I've verified that this doesn't break the Solaris code path, and the man page you referenced makes this seem like f_fstypename is the correct field name. Would you like to submit this as a pull request so that we can take it in and associate it with you in the repo history? |
Thanks for the very quick feedback! |
Ok, Travis reports this patch doesn't work on OS X. We could either move the statfs block above the statvfs, or add an explicit check for OS X and do not enter the statvfs case then. What do you prefer, or do you have another suggestion? What symbol properly checks for OS X? |
Thanks! Let's move the discussion to #51; I'll close this one in favor of that one |
NetBSD supports statvfs (and dropped support for statfs), but the code only checks for SunOS.
As an additional complication, some members of statvfs are called slightly differently, see
http://netbsd.gw.com/cgi-bin/man-cgi?statvfs+5+NetBSD-current
The following patch makes fstype.c compile on NetBSD; please check that I chose the correct field:
The text was updated successfully, but these errors were encountered: