mkfs.ext4 Command Examples

Create an ext4 filesystem inside a partition. More information: https://manned.org/mkfs.ext4.

sudo mkfs.ext4 {{/dev/sdb1}}

sudo mkfs.ext4 -L {{volume_label}} {{/dev/sdb1}}