or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
OS筆記-Chapter 11: File System Implementation
tags:
OS
目錄
Chapter 1: Introduction
Chapter 2: Operating-System Structures
Chapter 3: Processes
Chapter 4: Threads
Chapter 5: CPU Scheduling
Chapter 6: Process Synchronization
Chapter 7: Deadlocks
Chapter 8: Main Memory
Chapter 9: Virtual Memory
Chapter 10: File-System Interface
Chapter 11: File System Implementation
Chapter 12: Mass-Storage Systems
Chapter 13: I/O Systems
Chapter 14: Protection
Chapter 15: Security
檔案系統結構(File-System Structure)
檔案系統藉由允許資料能方便的儲存、找到及重新取出,以提供有效且方便的存取磁碟方法
檔案系統本身由不同層次所組成
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →不同作業系統的檔案系統結構
檔案系統製作(File-System Implementation)
檔案系統可能包括
記憶體中的資訊經由快取被用在檔案系統管理和性能改善上,包括一些型態的結構
當產生一個新檔案時,會呼叫邏輯檔案系統,作業系統會配置一個新的FCB
分割和掛載
虛擬檔案系統(VFS,virtual file system)
目錄製作(Directory Implementation)
線性串列(Linear list)
雜湊表格(Hash Table)
配置方法(Allocation Methods)
分配磁碟的三種方法
連續分配(Contiguous allocation)
鏈結分配(Linked allocation)
索引分配(Indexed allocation)
可用空間管理(Free-Space Management)
可用空間串列(free-space list):紀錄可用磁碟空間
位元映像(bit map)/位元向量(bit vector)
鏈結串列
組群(Grouping)
計數(Counting)
空間地圖(Space Maps)
效率和性能(Efficiency and Performance)
效率取決於
性能取決於
復原(Recovery)
一致性檢查(Consistency checking)
登入結構的檔案系統(log-based transaction-oriented/journaling)
其他解決辦法
備份(backup)或復原(restore)