code: mafs

ref: c947228f7cf50bbbeb3f1e1b1808280e9ae9247f
dir: /tests/test.9/notes/

View raw version
Creates a disk of 61440 blocks and builds the directory entries used by mafs.pdf for examples.

block	- description
0		- magic
1		- config
2		- super block
3		- / direntry
4		- /adm/ dir entry
5		- /adm/config dir entry
6		- /adm/super dir entry
7		- /adm/users dir entry
8		- /adm/users contents
9		- /adm/bkp/ dir entry
10	- /adm/bkp/config.0 dir entry
11	- /adm/bkp/super.0 dir entry
12	- /adm/bkp/root.0 dir entry
13	- /adm/bkp/config.1 dir entry
14	- /adm/bkp/super.1 dir entry
15	- /adm/bkp/root.1 dir entry
16	- /adm/ctl dir entry -- virtual file, empty contents
17	- /adm/frees dir entry

18	- /dir1 directory entry
19	- /dir1/file1 directory entry
20	- /dir1/file1 contents
21	- /adm/frees contents

22	- / direntry
23	- super block
24	- config

25
26
27
28

29	- / direntry
30	- super block
31	- config