There are lot of filesystems available today for example FAT32, NTFS , ext3,ext4, Brtfs, jfs, UBIfs etc. What I understood was, the way in which file is organized in the harddisk(I mean the data structres) is different for the above mentioned filesystems.
Now i am not very much clear, how these file systems are created on the harddisk and exactly how the superblock and other things are created on the sectors of the harddisk?
What format command will do? what the below mkfs command will do ?What exactly mount is doing? why differnet filesystems exists?
/sbin/mkdosfs /sbin/mkfs.ext2 /sbin/mkfs.ntfs
/sbin/mke2fs /sbin/mkfs.ext3 /sbin/mkfs.vfat
/sbin/mkfs /sbin/mkfs.ext4 /sbin/mkfs.xfs
/sbin/mkfs.btrfs /sbin/mkfs.ext4dev /sbin/mkhomedir_helper
/sbin/mkfs.cramfs /sbin/mkfs.msdos /sbin/mkswap
I am interested in learning filesystems, but i am not clear how the actual software is connected with the filesystem exist on harddisk?
Any books or articles which explain the basics of all the above things will be very useful.
Thanks in advance.