ncheck - generate a list of path names from inode numbers for a HFS
/usr/sbin/ncheck [-F hfs] [-V] [-S sector_ranges] [-i inode-numbers]
[-a] [-s] [special ...]
ncheck, when invoked without arguments, generates a list of path names
corresponding to the inode numbers of all files contained on the HFS
file systems listed in /etc/fstab. If special is specified, ncheck
reports on the special only. Path names generated by ncheck are
relative to the given special. Names of directory files are followed
-a Allow printing of the names . and .., which are
-F hfs Specify the HFS file system type.
Report only on files whose inode numbers are
specified on the command line, in inode-numbers.
inode-numbers is a comma separated list of inode
-s Report only on special files and regular files
with set-user-ID mode. The -s option is intended
to discover concealed violations of security
-V Echo the completed command line, but performs no
other action. The command line is generated by
incorporating the user-specified options and other
information derived from /etc/fstab. This option
allows the user to verify the command line.
Report only on files using sector numbers
specified on the command line in sector_ranges.
sector_ranges is a comma separated list of sector
ranges. A sector range is a starting sector
number and an ending sector number separated by a
dash, or just a sector number. The sector numbers
should be in DEV_BSIZE units. If no pathname
contains the sector number it will be reported as
free or containing file system structure. Sectors
beyond the end of the file system will be reported
Hewlett-Packard Company - 1 - HP-UX Release 11i: November 2000
Access Control Lists
Continuation inodes (that is, inodes containing additional access
control list information) are quietly skipped since they do not
correspond to any path name.
Execute the ncheck command on all special in /etc/fstab:
Execute the ncheck command on HFS file system /dev/dsk/c1d2s0:
ncheck -F hfs /dev/dsk/c1d2s0
International Code Set Support
Single- and multi-byte character code sets are supported.
When the file system structure is improper, ?? denotes the ``parent''
of a parentless file and a path-name beginning with ... denotes a
ncheck was developed by AT&T and HP.
/etc/default/fs Specifies the default file system type.
/etc/fstab Static information about the file systems.
acl(5), fsck(1M), fstab(4), fs_wrapper(5), ncheck(1M), sort(1).
ncheck: SVID2, SVID3
Hewlett-Packard Company - 2 - HP-UX Release 11i: November 2000