3 mktfs
: mktfs.c cache.c utils.c
dir.c ialloc.c balloc.c inode.c super.c file.c tfs.h dirent.h cache.h
4 gcc
-g
-o mktfs mktfs.c utils.c
dir.c ialloc.c balloc.c cache.c inode.c super.c file.c
6 balloc
: balloc.c utils.c super.c tfs.h
7 gcc
-g
-o balloc balloc.c utils.c super.c
9 ialloc
: ialloc.c utils.c super.c tfs.h
10 gcc
-g
-o ialloc ialloc.c utils.c super.c
12 inode
: inode.c utils.c super.c cache.c balloc.c
dir.c tfs.h
13 gcc
-g
-o inode inode.c utils.c super.c ialloc.c cache.c
dir.c balloc.c
15 dir: dir.c utils.c super.c cache.c balloc.c tfs.h cache.h dirent.h
16 gcc
-g
-o
dir dir.c cache.c utils.c super.c balloc.c
19 qemu-img create tfs.img
1M
22 .
/mktfs tfs.img
0 design
25 rm -f mktfs balloc ialloc inode
dir *.o