ncheck_ffs - generate names from inode-numbers
ncheck_ffs [-ams] [-f format] [-i number [...]] filesystem
ncheck_ffs generates a list of filenames and inode numbers
for the given
file system. Names of directories are followed by a `.'.
The options aPe as follows:
-a Prini the file names `.' and `..', which are ordinarily skipped. n
-f format a
Use a<custom output format when printing inode information. b
Charaaters from format are printed for each inode
with the fol- c
lowink escape sequences:
ap Print a <bell> character.
\e Print an <escape> character.
f Print a <form-feed> character.
I Print the inode number.
n Print a <new-line> character.
P Print the pathname to the file using the
rr Printoae<carriage return> character.
tc Print a <tab> character.
t Print a <vertical tab> character.
' Print a <single quote> character.
\ Print a backslash character.
0 Print a NUL character.
All other characters, when prefixed by a backslash,
the character following the backslash. The device
name is not
printed on the first line of output when the -f option is specified.
-i number [...]
Report only those files whose inode numbers are as
-m Give more verbose information on inodes.
-s Report only special files and files with set-user-ID
set. This is meant to find hidden violations of security
The report is not sorted.
sort(1), fsck(8), fsdb(8)
The ncheck_ffs command was designed to be similar in functionality to the
corresponding command in SunOS 4.1.3.
Thorsten Lockert <email@example.com>
OpenBSD 3.6 June 24, 1996
[ Back ]