{
    "mode": "man",
    "parameter": "xfs_mkfile",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/xfs_mkfile/8/json",
    "generated": "2026-06-02T23:26:51Z",
    "synopsis": "xfsmkfile [ -v ] [ -n ] [ -p ] size[k|b|m|g] filename ...\nxfsmkfile -V",
    "sections": {
        "NAME": {
            "content": "xfsmkfile - create an XFS file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "xfsmkfile [ -v ] [ -n ] [ -p ] size[k|b|m|g] filename ...\nxfsmkfile -V\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "xfsmkfile creates one or more files. The file is padded with zeroes by default.  The default\nsize is in bytes, but it can be flagged as kilobytes, blocks, megabytes,  or  gigabytes  with\nthe k, b, m, or g suffixes, respectively.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                },
                {
                    "name": "-n",
                    "content": "of file and write a block.\n",
                    "flag": "-n"
                },
                {
                    "name": "-p",
                    "content": "to the desired size.\n",
                    "flag": "-p"
                },
                {
                    "name": "-V",
                    "content": "xfsmkfile(8)",
                    "flag": "-V"
                }
            ]
        }
    },
    "summary": "xfsmkfile - create an XFS file",
    "flags": [
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-n",
            "long": null,
            "arg": null,
            "description": "of file and write a block."
        },
        {
            "flag": "-p",
            "long": null,
            "arg": null,
            "description": "to the desired size."
        },
        {
            "flag": "-V",
            "long": null,
            "arg": null,
            "description": "xfsmkfile(8)"
        }
    ],
    "examples": [],
    "see_also": []
}