Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 435 Bytes

Formatting 8b0942465dc248e19064b90215f49d6b.md

File metadata and controls

16 lines (9 loc) · 435 Bytes

Formatting

Low-level formatting

在 format FS 之前,會先做 空間硬碟規劃,就是 formatting。

主要工作:切 sectors

每個 sector 包含: header , data area , trailer

header, trailer :sector number,以及 EEC(error-correcting code) ( detect 是否有錯誤發生 )

OS 要使用 disk 時,會做兩個步驟:

  1. partition the disk into groups of cylinders
  2. logical formatting ( 建立 FS)