Next, verify the file system change using the command: Web use the mkfs command to format the disk with any file system you would like. 251.0 gb, 251000193024 bytes disk /dev/sdb: Web to initialize an ext4 filesystem, use the mkfs.ext4 utility. Format a disk partition with the ext4 file system using the following command: