Forrest logo
back to the mkfs.ext3 tool

mke2fs:tldr:16e97

mke2fs: Create an ext3 filesystem in partition 1 of device b (`sdb1`).
$ mkfs.ext3 ${-dev-sdb1}
try on your machine

The command mkfs.ext3 ${-dev-sdb1} is used to create a new ext3 file system on the partition specified by the device /dev/sdb1.

Here is a breakdown of the different components of the command:

  • mkfs.ext3: This is the command to create an ext3 file system. mkfs stands for "make file system".

  • ${-dev-sdb1}: This is the device parameter that specifies the partition on which the file system should be created. /dev/sdb1 is the specific device in this case. The ${...} syntax is used to refer to the value of a variable, but in this case, it seems to be a typo or an error as there is a - before dev-sdb1 which is unexpected. It should be directly written as /dev/sdb1.

To summarize, the command should be corrected to mkfs.ext3 /dev/sdb1 and it will create an ext3 file system on the partition /dev/sdb1.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mkfs.ext3 tool