mke2fs
Creates a Linux filesystem inside a partition. More information: https://manned.org/mke2fs.
-
Create an ext2 filesystem in partition 1 of device b (
sdb1
):
mkfs.ext2 {{/dev/sdb1}}
-
Create an ext3 filesystem in partition 1 of device b (
sdb1
):
mkfs.ext3 {{/dev/sdb1}}
-
Create an ext4 filesystem in partition 1 of device b (
sdb1
):
mkfs.ext4 {{/dev/sdb1}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.