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

Disks only returns the mounted partitions #1181

Open
SunPodder opened this issue Dec 28, 2023 · 0 comments · May be fixed by #1251
Open

Disks only returns the mounted partitions #1181

SunPodder opened this issue Dec 28, 2023 · 0 comments · May be fixed by #1251

Comments

@SunPodder
Copy link

Describe the bug
sysinfo version 0.30.1 on x86_64-gnu-linux

To Reproduce

let disks = Disks::new_with_refreshed_list();
println!("{:?}", disks);

This code returns only the mounted partitions, in my case 3, while I have total 8 partitions on the disk

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

Successfully merging a pull request may close this issue.

2 participants