Skip to content

Commit fd6bc6c

Browse files
committed
Tweak diagrams
1 parent 9db28fe commit fd6bc6c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ At present, simplefs only provides straightforward features.
3131

3232
### Partition layout
3333
```
34-
+------------+-------------+-------------------+-------------------+-------------+
35-
| superblock | inode store | inode free bitmap | block free bitmap | data blocks |
36-
+------------+-------------+-------------------+-------------------+-------------+
34+
+------------+-------------+-------------------+-------------------+-------------+
35+
| superblock | inode store | inode free bitmap | block free bitmap | data blocks |
36+
+------------+-------------+-------------------+-------------------+-------------+
3737
```
3838
Each block is 4 KiB large.
3939

@@ -58,12 +58,12 @@ Contains all the inodes of the partition. The maximum number of inodes is equal
5858
+-----------+
5959
```
6060
- for a file: the list of blocks containing the actual data of this file. Since block IDs are stored as 32-bit values, at most 1024 links fit in a single block, limiting the size of a file to 4 MiB.
61-
````
61+
```
6262
inode block 94
6363
+-----------------------+ +--------+
6464
| i_mode = IFDIR | 0644 | block 93 | | block 99
65-
| index_block =93 ----|--------> +---------+ | | +--------+
66-
| i_size = 10 KiB | 0 | 94 ---|-----> +--------+ | |
65+
| index_block = 93 ----|------> +---------+ | | +--------+
66+
| i_size = 10 KiB | 0 | 94 ---|-----> +--------+ | |
6767
| i_blockcs = 4 | |---------| | |
6868
+-----------------------+ 1 | 99 ---|------------------> +--------+
6969
|---------|
@@ -76,6 +76,7 @@ Contains all the inodes of the partition. The maximum number of inodes is equal
7676
```
7777

7878
## TODO
79+
7980
- support for extents
8081
- hard/symbolic link
8182
- journalling support

0 commit comments

Comments
 (0)