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

Have ___sys_statfs64 return real values when the FS supports it #22607

Open
jeroenpf opened this issue Sep 23, 2024 · 1 comment
Open

Have ___sys_statfs64 return real values when the FS supports it #22607

jeroenpf opened this issue Sep 23, 2024 · 1 comment

Comments

@jeroenpf
Copy link

Version of emscripten/emsdk:
3.1.61

The ___syscall_statfs64 function currently returns hardcoded values while some filesystems could potentially return more accurate stats. For example, NODEFS could leverage the Node statfs filesystem function to return actual stats for a given mount point.

Is this something worth considering or are there any problems with such an approach?

@sbc100
Copy link
Collaborator

sbc100 commented Sep 23, 2024

This sounds reasonable to me. Would you have time to send a PR perhaps?

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

2 participants