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
Only lifs
is shown when list usb disks on macOS
#882
Comments
lifs
is shown when list usb disks on #macoslifs
is shown when list usb disks on macOS
I'm sorry but if the information you gave, I have absolutely no idea what's wrong, what's expected, etc. Could you expand a bit? |
In the code below: use sysinfo::{System, SystemExt};
fn main() {
let mut sys = System::new_all();
sys.refresh_all();
println!("=> disks:");
for disk in sys.disks() {
println!("{:?}", disk);
}
} It'll produce (on Windows System):
On MacOS Darwin, the same code produces:
All I wanted was FAT32 or EXFAT (or another) on the FileSystem on MacOS results. I am using the following version; [dependencies]
sysinfo = "0.26.7" Did I explain it better? |
Yes! Unfortunately, I'm only returning what mac is providing me. If you want to take a look into it, I retrieve this information here. Also, I don't know if mac supports FAT32 and EXFAT. Maybe it just has a limited support, hence the |
From what I know about the Mac World (I am not a Mac User, more a Linux user that has to work with Windows), I can format my USB Stick to FAT32 or exFAT and the System gives me more two options (that more internal things). Well, I don't know how we can move on from here. |
No idea either... If you can test it locally, then try to see how to get the actual FS name. But be warned that often, the answer is very disappointing. 😆 |
I'll try to find something... |
Hi there! I know that it could be a long long time since we talked. I would like to know in macOS the lib is still returning |
No idea. You can still try to take a look directly, would very likely be much faster. |
When listing all known disks on macos, I only get
lifs
as a response. I needed FAT32 or exFAT.The text was updated successfully, but these errors were encountered: