Skip to main content

Indexing

Disk Structure

Logical Structure

  • Disk is divided into concentric tracks
  • Each track is divided into sectors
info

Disk Structure

Image of the structure of a disk from GeekforGeeks

Block

  • Intersection of track & sector
  • Identified usign (track_num, section_num)
    • typically 512 bytes

Read / Write operations

  • Performed in terms of blocks

Offset

  • Number of bytes from the start of a block
  • Used to identify a specific byte within a block