1xfs_ncheck(8) System Manager's Manual xfs_ncheck(8)
2
3
4
6 xfs_ncheck - generate pathnames from i-numbers for XFS
7
9 xfs_ncheck [ -i ino ] ... [ -f ] [ -s ] [ -l logdev ] device
10 xfs_ncheck -V
11
13 xfs_ncheck with no -i arguments generates an inode number and pathname
14 list of all files on the given filesystem. Names of directory files are
15 followed by /.. The output is not sorted in any particular order. The
16 filesystem to be examined is specified by the device argument, which
17 should be the disk or volume device for the filesystem. Filesystems
18 stored in files can also be checked, using the -f flag.
19
21 -f Specifies that the filesystem image to be processed is stored
22 in a regular file at device (see the mkfs.xfs -d file option).
23 This might happen if an image copy of a filesystem has been
24 made into an ordinary file.
25
26 -l logdev
27 Specifies the device where the filesystem's external log
28 resides. Only for those filesystems which use an external
29 log. See the mkfs.xfs -l option, and refer to xfs(5) for a
30 detailed description of the XFS log.
31
32 -s Limits the report to special files and files with setuserid
33 mode. This option may be used to detect violations of secu‐
34 rity policy.
35
36 -i ino Limits the report to only those files whose inode numbers fol‐
37 low. May be given multiple times to select multiple inode
38 numbers.
39
40 -V Prints the version number and exits.
41
42 If the filesystem is seriously corrupted, or very busy and looks like
43 it is corrupt, a message of the form that would be generated by the
44 xfs_db(8) "check" command may appear.
45
46 xfs_ncheck is only useful with XFS filesystems.
47
49 mkfs.xfs(8), xfs(5).
50
51
52
53 xfs_ncheck(8)