Format partition with the ext4 file system

Linux

The ext4 filesystem is known as the forth extended filesystem, and is the default file system on many Linux distributions.

To Format a partition with the ext4 filesystem run the following command:

Replace sdc1 with the relevent disk and partition that you want to format. In this example, the disk is /dev/sdc, and its the first partition on that disk. Make sure you get the drive and partition correct or you may wipe something that you dont want to.

Example:

If the parition already has a filesystem on it, you should get a warning such as this:

 

Source

Share: