1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:42:09 +02:00
tldr/pages/linux/mkfs.xfs.md
Managor de69399d2a
mkfs.xfs: add page (#13704)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-09-14 17:49:04 +02:00

307 B

mkfs.xfs

Create an XFS filesystem inside a partition. More information: https://manned.org/mkfs.xfs.

  • Create an XFS filesystem inside partition 1 on a device (X):

sudo mkfs.xfs {{/dev/sdX1}}

  • Create an XFS filesystem with a volume label:

sudo mkfs.xfs -L {{volume_label}} {{/dev/sdX1}}