Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 2021-Linux-Programming/Exam1-重点.md
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ clean:
2. VFS:Virtual File System Switch

| ![](https://spricoder.oss-cn-shanghai.aliyuncs.com/2021-Linux-Programming/img/exam1/4.png) | ![](https://spricoder.oss-cn-shanghai.aliyuncs.com/2021-Linux-Programming/img/exam1/5.png) |
| -------------------- | -------------------- |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |

### 4.3.2. VFS在系统内建立的四种结构体和含义
1. 超级块(super block):某一个磁盘的某一个分区的文件系统的信息,记录了文件系统类型和参数。
Expand All @@ -619,12 +619,12 @@ clean:
1. 不同的文件名对应同一个inode
2. 不能跨越文件系统
3. 对应系统调用link
4. ln -s [原文件名] [连接文件名]
4. ln [原文件名] [连接文件名]
2. 软链接
1. 存储被链接文件的文件名(而不是inode)实现链接
2. 可以跨越文件系统
3. 对应系统调用symlink
4. ln [原文件名] [连接文件名]
4. ln -s [原文件名] [连接文件名]

## 4.5. 系统调用和C库区别
1. 都以C库函数的形式出现
Expand Down