Format a partition as XFS.
Section: Format, Label, and Tune
Create an XFS filesystem
bash
bash
sudo mkfs.xfs /dev/sdb1Explanation
Format a partition as XFS.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Format, Label, and Tune