Which type of file system is created by mkfs when it is executed with the block device name only and without any additional parameters?
Which type of file system is created by mkfs when it is executed with the block device name only and without any additional parameters?
When the mkfs command is executed with only the block device name and no additional parameters, it creates an ext2 file system by default. This is because, without specifying the filesystem type, mkfs falls back to its default type, which is ext2.
From man pages on centos 7 -t, --type type Specify the type of filesystem to be built. If not specified, the default filesystem type (currently ext2) is used.
Answer is C. ext2
mkfs without any option creates ext2 filesystem If you don't specify the filesystem type for the target device, it will use the default ext2 filesystem. sudo mkfs /dev/sdb1 Source: https://linuxhandbook.com/mkfs-command/
only mkfs with no parameters create filesystem ext2
shouldn't this be E? ext4
I have tried on my ubuntu and what it creates by default is an ext2 partition
mkfs /dev/sdb /dev/sdb: UUID="22d5e5e8-c25e-47f4-a9bf-0d04bf2c90ab" TYPE="ext2"
Is correct
Answer is C
C. ext2
C, ext2
Answer is C. ext2
Answer is C. ext2
Answer is C: ext2