Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
Click on the arrows to vote for the correct answer
A. B. C. D.AB
The correct commands to create an ext3 filesystem on /dev/sdb1 are:
A. /sbin/mke2fs -j /dev/sdb1 B. /sbin/mkfs -t ext3 /dev/sdb1
Explanation:
A. /sbin/mke2fs -j /dev/sdb1
This command creates an ext2 filesystem on the specified device /dev/sdb1, and then converts it to an ext3 filesystem by adding a journal to it using the -j option. The -j option is used to create a journal for the ext3 filesystem, which helps in recovering from crashes or power failures.
B. /sbin/mkfs -t ext3 /dev/sdb1
This command creates an ext3 filesystem directly on the specified device /dev/sdb1 using the -t option to specify the filesystem type. The -t option is used to specify the filesystem type, which in this case is ext3.
C. /sbin/mkfs -c ext3 /dev/sdb1
This command creates an ext3 filesystem on the specified device /dev/sdb1 using the -c option to check for bad blocks on the device. The -c option is used to perform a surface scan of the device to locate and mark bad blocks, which can affect data integrity.
D. /sbin/mke3fs -j /dev/sdb1
This command creates an ext3 filesystem on the specified device /dev/sdb1, but it uses the incorrect command name mke3fs instead of mke2fs. The correct command name for creating an ext3 filesystem is mke2fs, not mke3fs.
Therefore, the correct answers are A and B.