Skip to main content
Linux AdministrationMediumMultiple Choice

Linux Administration Question

Statement

Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)

#mke2fs#mkfs#ext3#filesystem creation
A

/sbin/mke2fs -j /dev/sdb1

Correct
B

/sbin/mkfs -t ext3 /dev/sdb1

Correct
C

/sbin/mkfs -c ext3 /dev/sdb1

D

/sbin/mke3fs -j /dev/sdb1

Resolution & Explanations

The mke2fs -j command creates an ext3 filesystem (the -j adds a journal). Alternatively, mkfs -t ext3 is a wrapper command that calls mke2fs for ext3.