You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Unix, Rust allows one to query device identifiers for file, using a system specific MetadataExt trait. It would be awesome if there was a way to match those ids to disks returned by sysinfo. But unfortunately sysinfo returns only device name, not id.
Any ideas how to get the device id from its name?
The text was updated successfully, but these errors were encountered:
The problem here is the cross-platform support where each system has huge hacks in order to provide something unified. I don't have much time lately so unless it's a bug, I won't look at it for some time, however the source code to get the disks is generally pretty short so don't hesitate to take a look and see if a solution can be reached to get this information.
On Unix, Rust allows one to query device identifiers for file, using a system specific
MetadataExt
trait. It would be awesome if there was a way to match those ids to disks returned by sysinfo. But unfortunately sysinfo returns only device name, not id.Any ideas how to get the device id from its name?
The text was updated successfully, but these errors were encountered: