GIAC
GCFA · Question #256
GCFA Question #256: Real Exam Question with Answer & Explanation
The correct answer is B. mkfs.ext3 C. mke2fs -j. An ext3 filesystem can be created either directly with mkfs.ext3 or with mke2fs -j, where the -j flag adds a journal to an ext2 filesystem to produce ext3.
Question
Which of the following commands can you use to create an ext3 file system? Each correct answer represents a complete solution. Choose two.
Options
- Amke2fs
- Bmkfs.ext3
- Cmke2fs -j
- Dmkfs.ext2
Explanation
An ext3 filesystem can be created either directly with mkfs.ext3 or with mke2fs -j, where the -j flag adds a journal to an ext2 filesystem to produce ext3.
Common mistakes.
- A. Running
mke2fswithout the-jflag creates an ext2 filesystem, not ext3, because no journal is added by default. - D. The
mkfs.ext2command explicitly creates an ext2 filesystem without a journal, which is a different and older filesystem type than ext3.
Concept tested. Linux ext3 filesystem creation commands
Reference. https://man7.org/linux/man-pages/man8/mke2fs.8.html
Community Discussion
No community discussion yet for this question.