CompTIA Linux+ Powered by LPI (LX0-103) — Question 27

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 ext2, as mkfs defaults to creating an ext2 filesystem when no specific filesystem type is indicated. The other options, such as ext3, ext4, XFS, and VFAT, require explicit parameters to be created and will not be the result of running mkfs with just the block device name.