OSWikiHK: 請協力 GPLv3 的中文翻譯工作。
FAT
OSWikiHK,自由中文開源知識庫
FAT (File Allocation Table) 是 MS-DOS、Windows 3.x、Windows 95、Windows 98 和Windows ME 等作業系統預設的檔案系統。此外,現時大部份記憶卡,USB 快閃記憶體和 MP3 播放機都使用 FAT。FAT 的名稱取自其使用一個表格記錄那個空間已用作存放檔案內容,那個未被使用和每一個檔案存放內容的位置。FAT 有三個主要版本 - FAT12、FAT16 和 FAT32 分別表示 FAT 表格中每個項目所佔的位元數目。傳統 8.3 檔案名稱的 FAT12 和 FAT16 已成為 EMAC-107[1] 和 ISO/IEC 9293[2][3]標準。
GNU/Linux 可以讀寫 FAT12/16/32 檔案系統,亦支援長檔案名稱,並有 dosfstools 和 mtools 等可以建立和管理 FAT。
目录 |
使用 FAT
在 GNU/Linux 中,管理 FAT 的工作主要使用 dosfstools 中的一系列工具。
- 格式化存儲裝置成為 FAT 檔案系統 - 可以使用命令 mkdosfs。
- 檢查檔案系統 - 可以使用命令 dosfsck。
- 顯示或改變檔案系統標簽 - 可以使用命令 dosfslabel 或 mlabel -i。
- 存取 FAT 檔案系統
- 改變 FAT 檔案的屬性 - 可以使用 fatattr 套件中的 fatattr 命令改變 FAT 檔案系統中檔案的包括唯讀、隱藏、系統和封保等屬性。
歷史
1976 年至 1977 年間,微軟的始創人 Bill Gates 和微軟第一位受薪員工 Marc McDonald 為在 NCR 版本的 Microsoft* Disk Basic 上管理磁碟而開發出 FAT 檔案系統。當時 Seattle® Computer Products (SCP) 的員工 Tim Paterson 在 1979 年 National Computer Conference 因為和微軟共用同一個攤位而認識到 FAT 的慨念。次年,Paterson 隨即在其供 S-100 8086 CPU 主板的 86-DOS 上加入了 FAT。後來,微軟由 SCP 把 86-DOS 買下來並成為往後的 MS-DOS 和 PC-DOS。[4][5]
FAT12
最早期的 FAT 檔案系統針對在軟磁碟上使用,只用 12 位元來定址 cluster (FAT 儲存檔案內容最少單位),後來稱為 FAT12 以便和後來發展的新 FAT 檔案系統分開。初期的 MS-DOS 並不支援樹狀結構 (不支援子目錄),直至 MS-DOS 2.0 開始才可以建立子目錄。
FAT16
1984 年,IBM 推出的 PC AT 預付一台 20MB 的硬碟,同時推出 MS-DOS 3.0 亦改良 FAT 使用 16 位元來定址 cluster 成為早期的 FAT16,亦令 FAT 理論上可以支援更大的檔案系統。但因分割區大小標示方式問題,早期 FAT16 檔案系統最大只可以 32 MiB。後來,1987 年 11 月推出的 Compaq DOS 3.31 (Compaq 的 MS-DOS 3.3 OEM 版本) 改良 FAT16,把存放磁碟大小由 16 位元增至 32 位元,令檔案系統在硬碟的最大容量由 32 MiB 增至 2 GiB。此改良的 FAT 檔案系統最初稱為 DOS 3.31 Large File System,並在 1988 正式為 MS-DOS 4.0 和 OS/2 1.1 支援,亦是最終的 FAT16。
FAT32
參考資料
- ↑ ECMA (1995-05). Standard ECMA-107: Volume and File Structure of Disk Cartridges for Information Interchange, 2nd edition. ECMA International.
- ↑ ISO (1987). ISO 9293:1987 - Information processing - Volume and file structure of flexible disk cartridges for information interchange. International Standard Organzation.
- ↑ ISO (1994). ISO/IEC 9293:1994 - Information technology - Volume and file structure of disk cartridges for information interchange. International Standard Organzation.
- ↑ Duncan, Ray (1989-09). Design goals and implementation of the new High Performance File System. (includes related article on B-Trees and B+ Trees). Microsoft Systems Journal, 4(5). p.1(13).
- ↑ Microsoft (2003-11-03). FAT File System: The Story Behind the Innovation. Microsoft.
請參看
外部連結
- 維基百科: File Allocation Table[Eng][中文] - 維基百科對 FAT 檔案系統的說明。
- 維基百科: FAT filesystem and LInux - 維基百科對 FAT 檔案系統在 GNU/Linux 上支援的說明。
- Jos Kirps's Popular Science and Technology Blog: A Short History Of The Windows FAT File System (Jos Kirps 2008-03-19)
- COEN 252 Computer Forensics - FAT File Systems (Thomas Schwarz 2004)
页面分类: 未完成小作品 | Filesystem

