# xfs_ncheck(8) - man - phpman

[xfs_ncheck(8)](https://www.chedong.com/phpMan.php/man/xfsncheck/8/markdown)                          System Manager's Manual                         [xfs_ncheck(8)](https://www.chedong.com/phpMan.php/man/xfsncheck/8/markdown)



## NAME
       xfs_ncheck - generate pathnames from i-numbers for XFS

## SYNOPSIS
       **xfs**___**ncheck** [ **-i** _ino_ ] ... [ **-f** ] [ **-s** ] [ **-l** _logdev_ ] _device_
       **xfs**___**ncheck** **-V**

## DESCRIPTION
       **xfs**___**ncheck**  with  no **-i** arguments generates an inode number and pathname list of all files on
       the given filesystem. Names of directory files are followed by **/.**.  The output is not  sorted
       in  any particular order.  The filesystem to be examined is specified by the _device_ argument,
       which should be the disk or volume device for the filesystem.  Filesystems  stored  in  files
       can also be checked, using the **-f** flag.

## OPTIONS
### -f
                _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.

### -l
                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)](https://www.chedong.com/phpMan.php/man/xfs/5/markdown) for a detailed description of the XFS log.

### -s
                be used to detect violations of security policy.

### -i
                tiple times to select multiple inode numbers.

### -V

       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 **xfs**___**[db**(8)](https://www.chedong.com/phpMan.php/man/db/8/markdown) "check" command may appear.

       **xfs**___**ncheck** is only useful with XFS filesystems.

## SEE ALSO
       [**mkfs.xfs**(8)](https://www.chedong.com/phpMan.php/man/mkfs.xfs/8/markdown), [**xfs**(5)](https://www.chedong.com/phpMan.php/man/xfs/5/markdown).



                                                                                       [xfs_ncheck(8)](https://www.chedong.com/phpMan.php/man/xfsncheck/8/markdown)
