Question: mkfs how does it work?
Answer: The mkfs (i.e., make filesystem) command is used to create a filesystem (i.e., a system for organizing a hierarchy of directories, subdirectories and files) on a formatted storage device or media, usually a partition on a hard disk drive (HDD), ... Formatting of new HDD and floppy disks is done at the factory.