Open cooperlees opened 2 years ago
Lets see if we can read /proc or if there is an API to get these statistics ...
(I just am learning rust so went the easiest way possible to get this working)
Seems the stats exist in /sys. For example:
/sys/fs/btrfs/0e98dea4-5050-4c7e-9458-b9586c2dd38b/devices/sdc/stat
Could use the label maybe to find the file system UUID.
Lets see if we can read /proc or if there is an API to get these statistics ...
(I just am learning rust so went the easiest way possible to get this working)