code: mafs

ref: 760708dc3894c802b7a0a01ed23386bb19a519d7
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 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

20	- big file blank dentry as the big file was deleted but / still holds onto the dentry

40954	- /adm/bkp/root.0 dir entry
40956	- /adm/bkp/super.0 dir entry
40958	- /adm/bkp/config.0 dir entry