Linux mkfs command
Use: mkfs [-V] [-t fstype ] [fs-options] filesys [blocks]
Linux mkfs command is used on a specific file system partitions for linux
Parameters:
- device: preliminary examination of the hard disk partition, for example: / dev / sda1
- -V: Detailed display mode
- -t: for a given type of file system, Linux's default is ext2
- -c: In making the file system, inspect the partition for bad track
- -l bad_blocks_file: the bad track block inside information added bad_blocks_file
- block: Given the size of the block of
Examples
Built on / dev / hda5 a msdos file system, and check for bad blocks exist, and the process is listed in detail:
mkfs -V -t msdos -c /dev/hda5
The sda6 partition formatted as ext3 format
mfks -t ext3 /dev/sda6
Note: This file system is to be specified, such as ext3; reiserfs; ext2; fat32; msdos like.