2015-12-31 15:21:07 +00:00
|
|
|
# mke2fs
|
|
|
|
|
|
|
|
> Creates a Linux filesystem inside a partition.
|
2021-08-16 11:34:01 +01:00
|
|
|
> More information: <https://manned.org/mke2fs>.
|
2015-12-31 15:21:07 +00:00
|
|
|
|
|
|
|
- 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}}`
|
|
|
|
|
2021-05-27 17:17:46 +01:00
|
|
|
- Create an ext4 filesystem in partition 1 of device b (`sdb1`):
|
2015-12-31 15:21:07 +00:00
|
|
|
|
2021-05-27 17:17:46 +01:00
|
|
|
`mkfs.ext4 {{/dev/sdb1}}`
|