GCFA · Question #256
Which of the following commands can you use to create an ext3 file system? Each correct answer represents a complete solution. Choose two.
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
How the community answered
(45 responses)- A18% (8)
- B71% (32)
- D11% (5)
Why each option
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.
Running `mke2fs` without the `-j` flag creates an ext2 filesystem, not ext3, because no journal is added by default.
The `mkfs.ext3` command is the dedicated front-end tool for creating an ext3 journaling filesystem and directly invokes `mke2fs` with the appropriate options to produce an ext3 volume.
The `mke2fs -j` command creates an ext2 filesystem and then adds a journal to it using the `-j` flag, which is precisely what distinguishes ext3 from ext2 - the presence of a journal for improved data integrity and crash recovery.
The `mkfs.ext2` command 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
Source: https://man7.org/linux/man-pages/man8/mke2fs.8.html
Topics
Community Discussion
No community discussion yet for this question.