xfs_ncheck   (8) manpage
xfs_ncheck
8
  • NAME
      xfs_ncheck - generate pathnames from i-numbers for XFS
  • SYNOPSIS
      
      <3>xfs_ncheck<1> [ <3>-i<1> ino ] ...
      		[ <3>-s<1> ] [ <3>-l<1> logdev ] xfs_special
       .8v
      <3>xfs_ncheck<1> <3>-f<1> [ <3>-i<1> ino ] ...
      		[ <3>-s<1> ] [ <3>-l<1> logdev ] file
      
  • 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 xfs_special argument, which should be the disk or volume device for the filesystem. Filesystems stored in files can also be checked, using the <3>-f<1> flag.

      The options to <2>xfs_ncheck<1> are:
      -f
      Specifies that the special device is actually a file (see the <2>mkfs.xfs<1> <3>-d<1> <2>file<1> option). This might happen if an image copy of a filesystem has been made into an ordinary file.
      -l
      Specifies the device special file where the filesystem's external log resides. Only for those filesystems which use an external log. See the <2>mkfs.xfs<1> <3>-l<1> option, and refer to xfs(5) for a detailed description of the XFS log.
      -s
      Limits the report to special files and files with setuserid mode. This option may be used to detect violations of security policy.
      -i ino
      Limits the report to only those files whose inode numbers follow. May be given multiple times to select multiple inode numbers.

      If the filesystem is seriously corrupted, or very busy and looks like it is corrupt, a message of the form that would be generated by xfs_check(8) may appear.

      xfs_ncheck is only useful with XFS filesystems.
  • SEE ALSO
Current Users: 36 © 1999-2006 Linux.com.hk PenguinSoft
All trademarks and copyrights on this page are owned by their respective companies. Linux is a trademark of Linus Torvalds.