You can check the occupancy of files and directories with this command.
(parted) mklabel [partition table]
To explicitly specify the MBR format, specify msdos. (parted) mklabel msdos
(parted) mkpart [partition type file system type partition name] start position end position
The partition type can be specified in MBR format, and specifies primary, extended, and logical. To create one 1000MB primary partition to use as an ext4 file system at the beginning, specify as follows. (parted) mkpart primary ext4 1 1000MB
gdisk This is the command that can create, delete, change and display information on a GPT format HDD.
fdisk Command to perform partition operation to MBR format HDD To use the partition created by fdisk, you need to create a file system on the partition. (1) You can create an ext2 / ext3 / ext4 file system with mke2fs. (2) With the mkfs command, you can create by specifying not only ext2 / ext3 / ext4 but also file systems such as reiserfs and xfs with the "-t" option.
mkfs makes ext2 by default.
XFS is a journaling file system developed by Silicon Graphics (SGI). → A journaling file system is a type of file system that has a function to prevent damage to the management area by leaving an update history called a journal or log when changing the management area.
Commands that can system check files and fix problems. The e2fsck command also checks the ext2 / ext3 / ext4 file system
command to set parameters for the ext2 / ext3 / ext4 file system.