mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
16 lines
338 B
Markdown
16 lines
338 B
Markdown
# mke2fs
|
|
|
|
> Creates a Linux filesystem inside a partition.
|
|
|
|
- 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 ext3 filesystem in partition 1 of device b (`sdb1`):
|
|
|
|
`mkfs.ext3 {{/dev/sdb1}}`
|