mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 16:42:10 +02:00
It calculated the disk size with the zero-based max addressable block value. For example, for a disk device with a block size of 512 bytes that has 2 LBAs so it can address LBA 0 and LBA 1 (so m_max_addressable_block is 1) the calculated disk size will be 512 instead of 1024 bytes.
10 KiB
10 KiB