Format the partition in Linux
We have said before the partition of the two methods, it must now divided into many areas of the disk format
ls -l / dev / sda *: View the current disk partitioning
mkfs.ext3 / dev / sdb1: format file, the file system type as ext3
mkfs -t ext4 / dev / sdb2: second formatting commands, the / dev / sdb2 formatted as ext4 file type
hint:
1, using the mkfs. Command can be formatted, behind the device name with the format required for any type of disk partitions
2, note that the extended partition MBR disk is not formatted, only the primary and logical partitions can format, and the GPT partition may be formatted
3, after formatting, we use the fdisk command can not see the file system type, you must start parted partitioning tool, in order to see GPT partition file types