Each address uses bytes, so an address block holds pointers. Use zero-based file offsets. The requested file offset has
Thus select direct pointer index 1, read its file data block, and take the byte at offset 952 within it. No address block is needed:
Fetching an uncached inode adds one read. If “byte 3000” instead uses one-based numbering, the within-block offset is 951; it is still the second file data block, with the same read count. Pathname lookup is separate from accessing a known inode.

Articles by others on the same topic (0)

There are currently no matching articles.