Skip to content

Fix some usability issues + parse flags from libc sources if possible#8

Open
chhh wants to merge 20 commits intosmacke:masterfrom
chhh:master
Open

Fix some usability issues + parse flags from libc sources if possible#8
chhh wants to merge 20 commits intosmacke:masterfrom
chhh:master

Conversation

@chhh
Copy link
Copy Markdown

@chhh chhh commented Feb 22, 2022

Turned out flags might differ on some systems, should be a benign change

@smacke
Copy link
Copy Markdown
Owner

smacke commented Mar 27, 2022

Hey, thanks for the PR. I'm a bit concerned about spawning a new process like this for parsing out the various flags -- see my comment on #7. What are the OSes that support O_DIRECT that could have different values for these flags? Is there a way we could get this information without spawning a new process inside a static context, and include the original defaults as fallbacks?

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

Successfully merging this pull request may close these issues.

4 participants