Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ncheck_hfs(1m) [hpux man page]

ncheck_hfs(1M)															    ncheck_hfs(1M)

NAME
ncheck_hfs: ncheck - generate a list of path names from inode numbers for a HFS file system SYNOPSIS
inode-numbers] [special ...] DESCRIPTION
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 If special is specified, ncheck reports on the special only. Path names generated by are relative to the given special. Names of directory files are followed by Options Allow printing of the names and which are ordinarily suppressed. 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 numbers. Report only on special files and regular files with set-user-ID mode. The option is intended to discover concealed violations of security policy. 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 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 sec- tor 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 corre- spond to any path name. EXAMPLES
Execute the command on all special in Execute the command on HFS file system 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
was developed by AT&T and HP. FILES
Specifies the default file system type. Static information about the file systems. SEE ALSO
acl(5), fsck(1M), fstab(4), fs_wrapper(5), ncheck(1M), sort(1). STANDARDS CONFORMANCE
ncheck_hfs(1M)

Check Out this Related Man Page

ncheck(8)						      System Manager's Manual							 ncheck(8)

NAME
ncheck - lists i-number or tag and path name for files in a local file system. SYNOPSIS
/usr/sbin/ncheck [-i numbers] [-asm] file_spec [file_spec...] PARAMETERS
Specifies one or more file systems. Specify any file system by entering its full path name or its mount point. The full path name is the name entered in the file-spec field of the file system's entry in the /etc/fstab file. The mount point is the name entered in the mnt_point field of the file system's entry in the /etc/fstab file. You can also specify a UFS file system by entering the name of its device special file. For example: /dev/disk/dsk3c. You can also specify an AdvFS fileset by entering the name of the file domain, a pound sign (#) character, and the name of the file- set. For example: root_domain#root. FLAGS
Includes in the list the path names . (dot) and .. (dot dot), which are ordinarily suppressed. Lists only those files with the specified i-numbers (UFS) or tags (AdvFS). If you enter a zero (0) all allocated numbers will be displayed. Includes in the list the mode, UID, and GID of the files. To use this flag you must also specify either the -i or the -s flag on the command line. Lists only the special files and files with set-user-ID mode. DESCRIPTION
The ncheck command with no flags generates a list of all files on every specified file system. The list includes the path name and the corresponding i-number or tag of each file. Each directory file name in the list is followed by a /. (slash dot). Use the available flags to customize the list to include or exclude specific types of files. The files are listed in order by i-number or tag. To sort the list in a more useful format, pipe the output to the sort command. NOTES
The term file_spec represents either a UFS file system or an AdvFS fileset. To uncover concealed violations of security policy, that is, the inappropriate use of the set-user-ID mode, issue the command with the -s flag to list only special files and files with set-user-ID mode. RESTRICTIONS
You must be the root user to use this command. The ncheck command checks the /etc/fstab file for the specified domain and file system entry. If there is no entry in /etc/fstab for the specified file system, an error message is displayed to indicate that the file does not exist. DIAGNOSTICS
When the file system structure is improper, ?? (question mark question mark) denotes the parent of a parentless file. A path name begin- ning with ... (dot dot dot) denotes a loop. ERRORS
The ncheck command can be used only for checking local file systems. The "nnn" string identifies the file system type. FILES
Specifies the command path RELATED INFORMATION
sort(1), quot(8). delim off ncheck(8)
Man Page