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

Can we provide something like statfs()? Get free disk space / disk utilization? #37038

Closed
ghost opened this issue Aug 13, 2020 · 2 comments · Fixed by #42248
Closed

Can we provide something like statfs()? Get free disk space / disk utilization? #37038

ghost opened this issue Aug 13, 2020 · 2 comments · Fixed by #42248

Comments

@ghost
Copy link

ghost commented Aug 13, 2020

According to this Discourse thread (https://discourse.julialang.org/t/is-there-a-way-to-find-out-free-disk-space-equivalent-to-psutil-disk-usage-in-python/16918), apparently libuv 1.31 added uv_fs_statfs(), but we're still on libuv 1.29.

Do we have plans to upgrade?

If not, can we add support for a cross-platform way to access current disk usage, how much free space is available, etc?

From this thread, it sounds like there aren't any available julia packages that provide this yet. Python seems to provide something like this: https://stackoverflow.com/a/2372171/751061.

@ghost ghost changed the title Can we provide something like statfs()? Get available disk utilization? Can we provide something like statfs()? Get free disk space / disk utilization? Aug 13, 2020
@vtjnash
Copy link
Member

vtjnash commented Aug 13, 2020

We plan to upgrade for v1.6.x (LTS), at which point we will be able to take PRs to add it.

@ghost
Copy link
Author

ghost commented Aug 13, 2020

Thanks Jameson! :)

@KristofferC KristofferC modified the milestone: 1.6 Aug 13, 2020
@NHDaly NHDaly assigned NHDaly and unassigned NHDaly Dec 20, 2021
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 a pull request may close this issue.

3 participants