Linux Foundation Certified System Administrator (LFCS) — Question 138

Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?

Answer options

Correct answer: A

Explanation

The correct answer is A, ext2, because when mkfs is executed without any additional options, it defaults to creating an ext2 filesystem. The other options, ext3, ext4, XFS, and VFAT, require specific parameters to be used when invoking mkfs to create those particular filesystems.