Linux_FoundationLinux_Foundation
LFCS · Question #699
LFCS Question #699: Real Exam Question with Answer & Explanation
The correct answer is A: ext2. When mkfs is executed only with a block device name and no other parameters, it creates an ext2 filesystem by default.
Submitted by noor.lb· Apr 18, 2026Storage Management
Question
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?
Options
- Aext2
- Bext3
- Cext4
- DXFS
- EVFAT
Explanation
When mkfs is executed only with a block device name and no other parameters, it creates an ext2 filesystem by default.
Common mistakes.
- B.
ext3is a journaling filesystem and requires explicit specification withmkfs -t ext3to be created, as it's not the default type. - C.
ext4is a newer journaling filesystem and also requires explicit specification withmkfs -t ext4because it's not the default behavior of a genericmkfscall. - D.
XFSis a completely different journaling filesystem and must be explicitly specified withmkfs -t xfsto be created, as it's not the default. - E.
VFATis a variation of the FAT filesystem, primarily for compatibility with Windows, and is not the default filesystem type created bymkfson Linux without explicit type specification.
Concept tested. mkfs default filesystem type
Reference. https://man7.org/linux/man-pages/man8/mkfs.8.html
Topics
#mkfs#Filesystem creation#Default filesystem type#ext2
Community Discussion
No community discussion yet for this question.