xfs_ncheck(1M) xfs_ncheck(1M)
xfs_ncheck, xfs_ncheck64 - generate pathnames from i-numbers for XFS
xfs_ncheck [ -i ino ] ... [ -s ] xfs_special
xfs_ncheck -f [ -i ino ] ... [ -s ] file
xfs_ncheck64 [ -i ino ] ... [ -s ] xfs_special
xfs_ncheck64 -f [ -i ino ] ... [ -s ] file
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 -f flag.
xfs_ncheck64 is a 64-bit version of xfs_check which is not as susceptible
to running out of memory. It is available only on 64-bit capable
systems.
The options to xfs_ncheck are:
-f Specifies that the special device is actually a file (see the
mkfs_xfs -d file option). This might happen if an image copy of
a filesystem has been made into an ordinary file.
-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(1M) may appear.
xfs_ncheck is only useful with XFS filesystems. For EFS filesystems, see
ncheck(1M).
mkfs_xfs(1M), ncheck(1M), xfs_check(1M), xfs(4).
PPPPaaaaggggeeee 1111 [ Back ]
|