Sir, I have a question: In 5:19 you explain, "By the way, because 512 is a power of two, you don't need to make the integer division, you just look at the 9 LSB of the logical address and that'll be our value Q, the block number we're trying to access" I tried it with an hipothetical Logical Address 0x1010 (4112 in decimal). In binary, we will have: 0001 0000 0001 0000. So, if we look to the 9 least significant bits, we will have 16. If we calculate Q == 4112/512 (block size), we will have 8. If we calculate R == 4112%512, THEN we will have 16. So, the 9 least significant bits are the Q value or the R value? I got a little confused. Thanks a lot for your video and for your explanation!
In linked allocation address translation. why is 508 taken to calculate the block number and offset. Even though four bytes are used for the pointer the complete block still requires 512 bytes, so to find the block number why are we not using integer divsion by 512. And awesome lecture sir. Thanks a lot:-)
Kaushik Kumaran because the file contents are only have to be accessed and we do not care about the pointer that's not file data. so, while converting a logical address to a physical address,we got to offset the file contents which is 508 bytes in every block