Product SiteDocumentation Site

4.12. mkfs - Filesystem Label

Set the filesystem label.
XFS filesystem labels can be at most 12 characters long.
To create a filesystem and specify the label you would use:
mkfs.xfs -L label device

Note

A label may later be added or changed by using the xfs_admin command
MediaWiki Appliance - Powered by TurnKey Linux