xref: /original-bsd/sbin/ncheck/ncheck.8 (revision 53787e02)
Copyright (c) 1980 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)ncheck.8 6.1 (Berkeley) 04/27/85

NCHECK 8 ""
C 4
NAME
ncheck - generate names from i-numbers
SYNOPSIS
/etc/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. 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.

"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.