code: mafs

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

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

block	- description
0		- magic dir entry and data
2		- /adm/config dir entry
4		- /adm/super dir entry
6		- /adm/ dir entry
8		- /adm/users/ dir entry
10		- /adm/bkp/ dir entry
12		- /adm/users/inuse dir entry
14	- /adm/frees dir entry
16	- /adm/ctl dir entry -- virtual file, empty contents
18		- /adm/users/staging dir entry
20		- / direntry

22	- /dir1 directory entry
24	- /dir1/file1 directory entry
26	- /dir1/file1 contents

28	- /dir2 directory entry
30	- /dir2/file1 directory entry
32	- /dir1/file1 contents
34	- /dir2/file2 directory entry
36	- /dir1/file2 contents

131066	- /adm/bkp/root.0 dir entry
131068	- /adm/bkp/super.0 dir entry
131070	- /adm/bkp/config.0 dir entry