GuillaumeGomez / sysinfo

Cross-platform library to fetch system information
MIT License
2.11k stars 316 forks source link

Add is_read_only flag for disks #1348

Closed kevinbaker closed 2 months ago

kevinbaker commented 2 months ago

Add is_read_only flag on Disks, which shows whether the volume is read only. Tested under Linux, with implementations for all other platforms (other platforms not tested.)

This PR was written with the assistance of aider.

GuillaumeGomez commented 2 months ago

This is super cool, thanks!