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.)
Implement is_read_only flag for disks on macOS, FreeBSD, Linux, and Windows
Add is_read_only() method to the common Disk struct
Update documentation for the new is_read_only() method
Ensure consistent implementation across all supported platforms
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.