Creating and Mounting an Ext File System
Use the mkfs.ext4
command to create an XFS file system on a block
device, such as a partition, an LVM volume, a disk, or a similar hardware
device.
You create Ext file systems by using the mkfs.ext4
command. The
default options for the command are appropriate for most common use cases. For more
information, see the mkfs.ext4(8)
manual page.
Note that you can also format a device with Ext 2 or Ext 3 by using the
mkfs.ext2
or mkfs.ext3
commands,
instead.