Topic 1 Question #1
Which type of file system is created by mkfs when it is executed with the block device name only and without any additional parameters?
Answer: C
Option Analysis:
A. XFS is incorrect because mkfs defaults to ext2, not XFS, when run with no additional filesystem type parameters.
B. VFAT is incorrect because mkFS does not default to VFAT when no explicit filesystem type is specified.
C. ext2 is correct because traditional default behavior of the standard mkfs command is to create an ext2 filesystem if no filesystem type is specified explicitly.
D. ext3 is incorrect because mkfs does not default to ext3 when run without additional parameters, which requires explicit selection.
E. ext4 is incorrect because ext4 must be explicitly specified when creating a filesystem with mkfs, it is not the default behavior.
Key Concept:
The default filesystem type of the generic mkfs command when no explicit type is specified is the legacy ext2 filesystem in standard Linux distributions for LPI 101-500 exam objectives.
References:
mkfs(8) Linux Manual Page, https://man7.org/linux/man-pages/man8/mkfs.8.html
LPI 101 Exam Objectives, https://www.lpi.org/sites/default/files/101-500-objectives.pdf