Question: how mkfs works in linux?
Answer: The modern way of using mkfs is to type “mkfs.” and then the name of the file system you wish to create. To see the file systems that mkfs can create, type “mkfs” and then hit the Tab key twice. There's no space after “mkfs”, just hit Tab twice. The list of available file systems is displayed in the terminal window.