NCHECK(8) — UNIX Programmer’s Manual
NAME
ncheck − generate names from i-numbers
SYNOPSIS
ncheck [ −i numbers ] [ −a ] [ −s ] [ filesystem ]
DESCRIPTION
N.B.: For most normal file system maintenance, the function of ncheck is subsumed by fsck(8).
Ncheck with no argument generates a pathname vs. i-number list of all files on a set of default file systems. Names of directory files are followed by ’/.’. The −i option reduces the report to only those files whose i-numbers follow. The −a option allows printing of the names ’.’ and ’..’, which are ordinarily suppressed. suppressed. The −s option reduces the report to special files and files with set-user-ID mode; it is intended to discover concealed violations of security policy.
A file system may be specified.
The report is in no useful order, and probably should be sorted.
EXAMPLE
ncheck /dev/rdisk1
will report the pathnames and i-numbers of files on the specified device.
SEE ALSO
sort(1), dcheck(8), fsck(8), icheck(8)
DIAGNOSTICS
When the filesystem structure is improper, "??" denotes the ’parent’ of a parentless file and a pathname beginning with ’...’ denotes a loop.
7th Edition — 1/26/82