101-500 Exam QuestionsBrowse all questions from this exam

101-500 Exam - Question 1


Which type of file system is created by mkfs when it is executed with the block device name only and without any additional parameters?

Show Answer
Correct Answer: C

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.

Discussion

13 comments
Sign in to comment
demarkoOption: C
Dec 19, 2020

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.

MalicaideOption: C
Jul 8, 2020

Answer is C. ext2

CuriousLinuxCatOption: C
Apr 1, 2021

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/

Dlm17Option: C
Apr 18, 2023

only mkfs with no parameters create filesystem ext2

gerbenOption: E
Apr 29, 2020

shouldn't this be E? ext4

cast7omadrid1
May 7, 2020

I have tried on my ubuntu and what it creates by default is an ext2 partition

techalikOption: C
Dec 1, 2020

mkfs /dev/sdb /dev/sdb: UUID="22d5e5e8-c25e-47f4-a9bf-0d04bf2c90ab" TYPE="ext2"

MartiFCOption: C
Feb 1, 2022

Is correct

FantaColaOption: C
Feb 9, 2022

Answer is C

eriksealsOption: C
Jun 8, 2022

C. ext2

caprciscoOption: C
Aug 14, 2023

C, ext2

Tewodros89Option: C
Sep 16, 2023

Answer is C. ext2

Blindspot205Option: C
Jan 6, 2024

Answer is C. ext2

michael_stefano01Option: C
Mar 27, 2024

Answer is C: ext2