— generate names from
ncheck_ffs generates a list of filenames
and inode numbers for the given file system. Names of directories are
followed by a ‘.’.
ncheck_ffs may be
invoked more simply as
ncheck, with no change in
The options are as follows:
- Print the file names ‘.’ and ‘..’, which are ordinarily skipped.
- Use a custom output format when printing inode information. Characters
from format are printed for each inode with the
following escape sequences:
- Print a ⟨bell⟩ character.
- Print a ⟨backspace⟩ character.
- Print an ⟨escape⟩ character.
- Print a ⟨form-feed⟩ character.
- Print the inode number.
- Print a ⟨new-line⟩ character.
- Print the pathname to the file using the current inode number.
- Print a ⟨carriage return⟩ character.
- Print a ⟨tab⟩ character.
- Print a ⟨vertical tab⟩ character.
- Print a ⟨single quote⟩ character.
- Print a backslash character.
- Print a NUL character.
All other characters, when prefixed by a backslash, simply print the character following the backslash. The device name is not printed on the first line of output when the
-foption is specified.
- Report only those files whose inode numbers are as listed.
- Give more verbose information on inodes.
- Report only special files and files with set-user-ID or set-group-ID set. This is meant to find hidden violations of security policies.
The report is not sorted.
sort(1), fsck(8), fsdb(8)
ncheck command appeared in
Version 6 AT&T UNIX. The
ncheck_ffs command was designed to be similar in
functionality to the corresponding command in SunOS 4.1.3.
Thorsten Lockert <firstname.lastname@example.org>