Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > N

ncheck_hfs(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

ncheck_hfs: ncheck — generate a list of path names from inode numbers for a HFS file system

SYNOPSIS

/usr/sbin/ncheck [-F hfs] [-V] [-S sector_ranges] [-i inode-numbers] [-a] [-s] [special ...]

DESCRIPTION

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 by /.

Options

-a

Allow printing of the names . and .., which are ordinarily suppressed.

-F hfs

Specify the HFS file system type.

-i inode-numbers

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

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

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

-S sector_ranges

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 as illegal.

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.

EXAMPLES

Execute the ncheck command on all special in /etc/fstab:

ncheck

Execute the ncheck command on HFS file system /dev/dsk/c1d2s0:

ncheck -F hfs /dev/dsk/c1d2s0

EXTERNAL INFLUENCES

International Code Set Support

Single- and multi-byte character code sets are supported.

DIAGNOSTICS

When the file system structure is improper, ?? denotes the ``parent'' of a parentless file and a path-name beginning with ... denotes a loop.

AUTHOR

ncheck was developed by AT&T and HP.

FILES

/etc/default/fs

Specifies the default file system type.

/etc/fstab

Static information about the file systems.

STANDARDS CONFORMANCE

ncheck: SVID2, SVID3

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.