Product SiteDocumentation Site

4.10. mkfs - Filesystem Image

mkfs allows you to create a filesystem as a regular file
This can be used to create a filesystem on a loop-back device
mkfs.xfs -d file=1,name=filename,size=2g filename