mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-14 13:35:24 +02:00

Co-authored-by: pixie <pixel+github@chrissx.de> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
12 lines
308 B
Markdown
12 lines
308 B
Markdown
# mkfs.ext4
|
|
|
|
> Create an ext4 filesystem inside a partition.
|
|
> More information: <https://manned.org/mkfs.ext4>.
|
|
|
|
- Create an ext4 filesystem inside partition Y on device X:
|
|
|
|
`sudo mkfs.ext4 {{/dev/sdXY}}`
|
|
|
|
- Create an ext4 filesystem with a volume-label:
|
|
|
|
`sudo mkfs.ext4 -L {{volume_label}} {{/dev/sdXY}}`
|