Manual Page Result
0
Command: ncheck | Section: 8 | Source: Digital UNIX | File: ncheck.8.gz
ncheck(8) System Manager's Manual ncheck(8)
NAME
ncheck - lists i-number and path name for all files in a file system.
SYNOPSIS
/usr/sbin/ncheck [-i numbers] [-asm] filesystem ...
PARAMETERS
Specifies one or more file systems. Specify any file system by enter-
ing its full path name. The full path name is the file system's mount
point in the /etc/fstab file. You can also specify a UFS file system
by entering the name of its device special file. For example:
/dev/rrz3c. You can also specify an AdvFS fileset by entering the name
of the file domain, a pound sign (#) character, and the name of the
fileset. For example: root_domain#root.
FLAGS
Includes in the list the path names . (dot) and .. (dot dot), which are
ordinarily suppressed. Lists only those files with the specified i-
numbers (UFS) or tags (AdvFS). Includes in the list the mode, UID, and
GID of the files. To use this flag you must also specify either the -i
or the -s flag on the command line. Lists only the special files and
files with set-user-ID mode.
DESCRIPTION
The ncheck command with no flags generates a list of all files on every
specified file system. The list includes the path name and the corre-
sponding i-number or tag of each file. Each directory file name in the
list is followed by a /. (slash dot). Use the available flags to cus-
tomize the list to include or exclude specific types of files.
The files are listed in order by i-number or tag. To sort the list in
a more useful format, pipe the output to the sort command.
NOTES
The term file system represents either a UFS file system or an AdvFS
fileset.
To uncover concealed violations of security policy, that is, the inap-
propriate use of the set-user-ID mode, issue the command with the -s
flag to list only special files and files with set-user-ID mode.
RESTRICTIONS
You must be the root user to use this command.
The ncheck command checks the /etc/fstab file for the specified domain
and file system entry. If there is no entry in /etc/fstab for the
specified file system, an error message is displayed to indicate that
the file does not exist.
DIAGNOSTICS
When the file system structure is improper, ?? (question mark question
mark) denotes the parent of a parentless file. A path name beginning
with ... (dot dot dot) denotes a loop.
FILES
Specifies the command path
RELATED INFORMATION
sort(1), vquot(8). delim off
ncheck(8)