{
    "content": [
        {
            "type": "text",
            "text": "# xfs_ncheck(8) (man)\n\n**Summary:** xfsncheck - generate pathnames from i-numbers for XFS\n\n**Synopsis:** xfsncheck [ -i ino ] ... [ -f ] [ -s ] [ -l logdev ] device\nxfsncheck -V\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -f | — | — | device (see the mkfs.xfs -d file option). This might happen if an image copy of a filesystem has been made into an ordin |\n| -l | — | — | Specifies the device where the filesystem's external log resides. Only for those filesystems which use an external log.  |\n| -s | — | — | be used to detect violations of security policy. |\n| -i | — | — | tiple times to select multiple inode numbers. |\n| -V | — | — | If the filesystem is seriously corrupted, or very busy and looks like it is corrupt, a mes‐ sage of the form that would  |\n\n## See Also\n\n- mkfs.xfs(8)\n- xfs(5)\n- xfsncheck(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (6 lines)\n- **OPTIONS** (1 lines) — 5 subsections\n  - -f (3 lines)\n  - -l (4 lines)\n  - -s (2 lines)\n  - -i (2 lines)\n  - -V (5 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nxfsncheck - generate pathnames from i-numbers for XFS\n\n### SYNOPSIS\n\nxfsncheck [ -i ino ] ... [ -f ] [ -s ] [ -l logdev ] device\nxfsncheck -V\n\n### DESCRIPTION\n\nxfsncheck  with  no -i arguments generates an inode number and pathname list of all files on\nthe given filesystem. Names of directory files are followed by /..  The output is not  sorted\nin  any particular order.  The filesystem to be examined is specified by the device argument,\nwhich should be the disk or volume device for the filesystem.  Filesystems  stored  in  files\ncan also be checked, using the -f flag.\n\n### OPTIONS\n\n#### -f\n\ndevice (see the mkfs.xfs -d file option). This might happen if an image  copy  of  a\nfilesystem has been made into an ordinary file.\n\n#### -l\n\nSpecifies  the  device  where the filesystem's external log resides.  Only for those\nfilesystems which use an external log. See the mkfs.xfs  -l  option,  and  refer  to\nxfs(5) for a detailed description of the XFS log.\n\n#### -s\n\nbe used to detect violations of security policy.\n\n#### -i\n\ntiple times to select multiple inode numbers.\n\n#### -V\n\nIf  the  filesystem is seriously corrupted, or very busy and looks like it is corrupt, a mes‐\nsage of the form that would be generated by the xfsdb(8) \"check\" command may appear.\n\nxfsncheck is only useful with XFS filesystems.\n\n### SEE ALSO\n\nmkfs.xfs(8), xfs(5).\n\n\n\nxfsncheck(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "xfs_ncheck",
        "section": "8",
        "mode": "man",
        "summary": "xfsncheck - generate pathnames from i-numbers for XFS",
        "synopsis": "xfsncheck [ -i ino ] ... [ -f ] [ -s ] [ -l logdev ] device\nxfsncheck -V",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-f",
                "long": null,
                "arg": null,
                "description": "device (see the mkfs.xfs -d file option). This might happen if an image copy of a filesystem has been made into an ordinary file."
            },
            {
                "flag": "-l",
                "long": null,
                "arg": null,
                "description": "Specifies the device where the filesystem's external log resides. Only for those filesystems which use an external log. See the mkfs.xfs -l option, and refer to xfs(5) for a detailed description of the XFS log."
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "be used to detect violations of security policy."
            },
            {
                "flag": "-i",
                "long": null,
                "arg": null,
                "description": "tiple times to select multiple inode numbers."
            },
            {
                "flag": "-V",
                "long": null,
                "arg": null,
                "description": "If the filesystem is seriously corrupted, or very busy and looks like it is corrupt, a mes‐ sage of the form that would be generated by the xfsdb(8) \"check\" command may appear. xfsncheck is only useful with XFS filesystems."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "mkfs.xfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkfs.xfs/8/json"
            },
            {
                "name": "xfs",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/xfs/5/json"
            },
            {
                "name": "xfsncheck",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/xfsncheck/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-f",
                        "lines": 3,
                        "flag": "-f"
                    },
                    {
                        "name": "-l",
                        "lines": 4,
                        "flag": "-l"
                    },
                    {
                        "name": "-s",
                        "lines": 2,
                        "flag": "-s"
                    },
                    {
                        "name": "-i",
                        "lines": 2,
                        "flag": "-i"
                    },
                    {
                        "name": "-V",
                        "lines": 5,
                        "flag": "-V"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}