mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 23:42:09 +02:00

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
307 B
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}}