HPlogo HP-UX Reference > N

ncheck(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

ncheck — generate a list of path names from inode numbers

SYNOPSIS

/usr/sbin/ncheck [-F FStype] [-V] [-o specific_options] [special ...]

DESCRIPTION

ncheck, when invoked without arguments, generates a list of path names corresponding to the inode numbers of all files contained on the 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.

Options

-F FStype

Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)). If this option is not included on the command line, then the file system type is determined from the file /etc/fstab by matching each special with an entry in that file. If there is no entry in /etc/fstab, then the file system type is determined from the file /etc/default/fs.

-o specific_options

Specify options specific to each file system type. specific_options is a list of suboptions and/or keyword/attribute pairs intended for a specific FStype-specific module of the command. See the file-system-specific manual pages for a description of the specific_options supported, if any.

-V

Echo the completed command line, but perform 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.

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

Display a completed command line without executing the command:

ncheck -V /dev/dsk/c1d2s0

FILES

/etc/default/fs

Specifies the default system type.

/etc/fstab

Static information about the file systems.

AUTHOR

ncheck was developed by AT&T and HP.

STANDARDS CONFORMANCE

ncheck: SVID2, SVID3