Changes

1 byte added ,  21:52, 20 January 2024
Line 142: Line 142:     
The start address and length of an extend needs to be multiplied by the address unit obtained from the header to obtain the byte address, which can be divided by the lba size to obtain the lba address:
 
The start address and length of an extend needs to be multiplied by the address unit obtained from the header to obtain the byte address, which can be divided by the lba size to obtain the lba address:
 +
 
start_lba = start_address * pow(2,address_unit_base) / lba_size
 
start_lba = start_address * pow(2,address_unit_base) / lba_size
    
==== Footer ====
 
==== Footer ====
 
The extends are followed by one byte with varying values, which is also ignored by HAI-IOS
 
The extends are followed by one byte with varying values, which is also ignored by HAI-IOS
5

edits