code: mafs

ref: ec333deceba9dd45dabf4d36138398bdd020f449
dir: /tests/test.3/notes/

View raw version
test write, read and deletion of big files. Unmarked blocks are free blocks.

for (b in `{seq 22 1 53}) { echo $b; disk/block -f disk $b }

for (b in `{seq 22 1 40959}) { echo $b; disk/block -f test.3/disk $b > test.3/blocks/^$b}

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	- big file blank dentry as the big file was deleted but / still holds onto the dentry
21	- /adm/frees contents

20487	- / direntry
20488	- super block
20489	- config

40957	- / direntry
40958	- super block
40959	- config