-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
init fs modify upto pr comment #19
base: master
Are you sure you want to change the base?
Conversation
# 文件系统的初始化 | ||
## 概述 | ||
|
||
本文主要介绍,linux kernel 0.11系统中minix1.0版本文件系统的初始化。主要参考的代码是, [mkfs.minix代码](https://www.kernel.org/pub/linux/utils/util-linux/v2.30/util-linux-2.30.1.tar.gz) 。首先会先描述一下出完成后初始化的数据结构是什么样子的,然后通过实验来看一个新初始化系统的数据组成情况。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
本文? 我觉得此处还是要站在是写一本书的角度;)
主要参考放在文章末尾的参考下面,此处可以去掉;)
|
||
本文主要介绍,linux kernel 0.11系统中minix1.0版本文件系统的初始化。主要参考的代码是, [mkfs.minix代码](https://www.kernel.org/pub/linux/utils/util-linux/v2.30/util-linux-2.30.1.tar.gz) 。首先会先描述一下出完成后初始化的数据结构是什么样子的,然后通过实验来看一个新初始化系统的数据组成情况。 | ||
|
||
## mini1.0文件系统的布局: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
冒号应该去掉吧?
|
||
``` | ||
|
||
- 对超级块字段一一说明: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
此处'对超级块字段的一一说明'是否修改为'超级块字段的说明' 比较易懂;)
|
||
``` | ||
|
||
- 对inod块字段一一说明: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我感觉小标题后面加冒号影响预览,去掉比较好?
- 根据数据结合inode块结构来翻译一下: | ||
- inode中放入了第一个目录的信息 | ||
- inode块的起始位置是逻辑块位图最后一个块的下一个块。 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
多了一个空行
``` | ||
|
||
- 根据第一个逻辑块中的数据结合目录结构来翻译一下第一inode指向的内容: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不管是代码还是文章,行间距保持在一行比较美观
No description provided.