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

[disk][linux] add fallback to /proc/self #1270

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

shirou
Copy link
Owner

@shirou shirou commented Mar 5, 2022

fixes #1159

This PR adds fallback mechanism from /proc/1/mountinfo(mounts) to /proc/self/mountinfo.

We usually does not use Named Return Value in this project, but readMountFile() returns complex values, so I choose to use in order to simplify.

@shirou shirou merged commit 4b988f3 into master Mar 8, 2022
@shirou shirou deleted the feature/disk_add_fallback_to_self_mountinfo branch March 8, 2022 11:21
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.

[v3] Can not get mountinfo on android
1 participant