File System using FUSE
Block Size: 512 bytes
Size of inode : 128 bytes
Number of inodes : 16
Number of data blocks : 32
Each block has 4 inodes.
Each inode has 10 direct pointers
There are no indirect pointers
The superblock, inode and data bit maps occupy one block each.
The block numbers and inode numbers start from 1.
A directory is a file with the data block containing records (inode number, name).
A directory entry with an inode number 0 indicates an invalid entry.
A type member in the inode indicates whether an inode is invalid, a regular file or directory which have values 1,2,3 respectively.
The numRecords field in the inode indicates the number of valid directory entries if the inode is a directory.
A directory can have as many entries as can be fitted in its data blocks printed to by the inodes direct pointers.