some fixes and test, and add a test shell
tree98df340cf3219e7f36722c2c219e176dd995c810
-rw-r--r-- 750 Makefile
-rw-r--r-- 2003 balloc.c
-rw-r--r-- 3580 cache.c
-rw-r--r-- 394 cache.h
-rw-r--r-- 4942 dir.c
-rw-r--r-- 417 dirent.h
-rw-r--r-- 3978 file.c
-rw-r--r-- 552 file.h
-rw-r--r-- 2102 ialloc.c
-rw-r--r-- 7083 inode.c
-rw-r--r-- 5636 mktfs.c
-rw-r--r-- 1386 super.c
-rw-r--r-- 4605 tfs.h
-rw-r--r-- 2224 utils.c