code: mafs

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

20486	- / direntry
20487	- super block
20488	- config

40957	- / direntry
40958	- super block
40959	- config