code: mafs

ref: 9cf2807db9e8268a4dfbce19561bd712e4430a39
dir: /tests/test.1/notes/

View raw version
Creates a disk of 32 blocks. Unmarked blocks are blank.

Create a file /dir1/file1 on the disk and do:
echo test >> /n/mafs_test.1/dir1/file1

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

20	- /dir1 directory entry
21	- /dir1/file1 directory entry
22	- /dir1/file1 contents

23	- / direntry
24	- super block
25	- config

26	- /adm/frees contents
27
28

29	- / direntry
30	- super block
31	- config