My question is about bytes-per-inode when formatting a partition. The followings are what I did:
#mke2fs -i 8192 /dev/hda3
#mount /dev/hda3 /tmp/mydir
drwxr-xr-x 2 root root 4096 Oct 23 16:28 hello
I already indicated one inode points to 8192 (2 blocks) bytes. Since a directory uses one inode, I suppose the size of the directory should be 8192. But it seemes that I am wrong. Why the directory size is 4096?
Thanks in advance