mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:28:13 +00:00
![]() We remove can_read() and can_write(), as both of these methods should be implemented for proper blocking support. For our case, the previous code will simply block the user if they tries to read beyond the max addressable offset, which is not a correct behavior. Instead, just do proper EOF guarding when calling read() and write() on such objects. |
||
---|---|---|
.. | ||
ATA | ||
NVMe | ||
SD | ||
USB | ||
DiskPartition.cpp | ||
DiskPartition.h | ||
StorageController.cpp | ||
StorageController.h | ||
StorageDevice.cpp | ||
StorageDevice.h | ||
StorageManagement.cpp | ||
StorageManagement.h |