1 CFLAGS
= -g
-Wall
-Wno-unused
4 mktfs
: mktfs.c cache.c utils.c
dir.c ialloc.c balloc.c inode.c file.c tfs.h dirent.h cache.h
5 gcc
${CFLAGS} -o mktfs mktfs.c utils.c
dir.c ialloc.c balloc.c cache.c inode.c file.c
7 tfsh
: shell.c cache.c utils.c
dir.c ialloc.c balloc.c inode.c super.c file.c tfs.h dirent.h cache.h
8 gcc
${CFLAGS} -o tfsh
shell.c utils.c
dir.c ialloc.c balloc.c cache.c inode.c super.c file.c
11 qemu-img create tfs.img
1M
14 .
/mktfs tfs.img
0 design