Difficulty: Easy
Correct Answer: 512 bytes
Explanation:
Introduction / Context:Block size is a foundational concept in filesystems. It affects performance, metadata density, and compatibility with disk hardware. Traditional UNIX designs commonly referenced 512-byte physical blocks (aligned with classic disk sectors), even though modern filesystems often use larger logical blocks internally for efficiency.
Given Data / Assumptions:
Concept / Approach:
Historically, UNIX literature describes a physical disk block as 512 bytes, matching the standard sector size of many legacy disks. While filesystems can aggregate multiple physical sectors into larger logical blocks (for example, 1 KB or 4 KB), the canonical baseline for many questions remains 512 bytes.
Step-by-Step Solution:
Recall legacy disk sector size: 512 bytes.Recognize that classic UNIX documentation often equates “physical block” with sector.Note that larger sizes (1024, 2048 bytes) are common for logical filesystem blocks, not necessarily physical blocks.Therefore select 512 bytes as the correct, traditional answer.Verification / Alternative check:
Many older UNIX manuals and disk utilities (such as dd with bs=512) reinforce the 512-byte sector convention. Modern drives can expose 4096-byte sectors, but exam-style questions typically expect the historical 512-byte answer unless otherwise stated.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing “physical block/sector size” with “filesystem block size.” The former is a hardware-oriented minimum transfer unit, while the latter is a filesystem parameter, often a multiple of the sector size for efficiency.
Final Answer:
512 bytes
Discussion & Comments