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

use portable statvfs(2) instead of statfs(2) #115

Open
garlick opened this issue Dec 31, 2024 · 0 comments
Open

use portable statvfs(2) instead of statfs(2) #115

garlick opened this issue Dec 31, 2024 · 0 comments

Comments

@garlick
Copy link
Member

garlick commented Dec 31, 2024

Problem: it was reported in #32 that the fsid_t from statfs(2) was being converted incorrectly on linux

The statfs(2) man page now says

LSB has deprecated the library calls statfs() and fstatfs() and tells
us to use statvfs(2) and fstatvfs(2) instead.

https://pubs.opengroup.org/onlinepubs/009695299/basedefs/sys/statvfs.h.html

Perhaps that would be a less dodgy way to get the fsid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant