1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-14 13:35:24 +02:00
tldr/pages/linux/mkfs.ext4.md
Managor 5c3e141eb2
mkfs*: unify format (#16188)
Co-authored-by: pixie <pixel+github@chrissx.de>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2025-04-19 00:06:58 +03:00

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}}`