Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
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
Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
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
A and B is correct.
/sbin/mke2fs -j: Create the filesystem with an ext3 journal. If the -J option is not specified, the default journal parameters will be used to create an appropriately sized journal (given the size of the filesystem) stored within the filesystem. Note that you must be using a kernel which has ext3 support in order to actually make use of the journal.
/sbin/mkfs -t: Specifies the type of file system to be built. If not specified, the default file system type (currently ext2) is used.
C is wrong, there is no -c parameter for mkfs
D is wrong, I dont think there is a MKE3FS program.
MKE2FS: https://linux.die.net/man/8/mke2fs
MKFS: https://linux.die.net/man/8/mkfs