Linux Foundation Certified System Administrator (LFCS) — Question 89
Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
Answer options
- A. /sbin/mke2fs -j /dev/sdb1
- B. /sbin/mkfs -t ext3 /dev/sdb1
- C. /sbin/mkfs -c ext3 /dev/sdb1
- D. /sbin/mke3fs -j /dev/sdb1
Correct answer: A, B
Explanation
The commands in options A and B are correct because they are standard methods to create an ext3 filesystem on a specified device. Option C is incorrect as it uses the '-c' flag, which is not valid for creating an ext3 filesystem. Option D is wrong because 'mke3fs' is a typographical error; the correct command is 'mke2fs'.