Login Required

This note requires login to view the full content (110 lines total). Showing first 20 lines as preview. Please login to view the full content.

Login to unlock

Chapter 11: File System Implementation

Created: 2025-12-16
Updated: 2025-12-16

File System Structure

  • I/O transfer between disk and main memory is done in units of blocks
  • one block(logical) can be one or more sectors(physical)
  • sector: typically 512 bytes
  • one OS can support more than one file system type
  • two design problem: interface to user programs and interface to physical storage (disk)
  • Layered File System
    • API: read(fh, buf, size)
    • Logical File System: menage metadata (directory structure, file attributes...)
    • File Organization Module: logical \to physical mapping (file blocks \to disk blocks)
    • Basic File System: read d1, c73, t5, s4 (disk driver interface) (disk, cylinder, track, sector)
    • I/O Control Device Driver: control the physical device
    • Devices: Seagate disk

Disk Structure

  • On-Disk Structure

Login to unlock full content

Login Now