Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

ncheck(8)

Name

ncheck - generate a list of path names versus i-numbers

Synopsis

ncheck [-F FSType] [-V] [generic_options] 
     [-o FSType-specific_options] [special]...

Description

ncheck with no options generates a path-name versus i-number list of all files on special. If special is not specified on the command line the list is generated for all specials in /etc/vfstab which have a numeric fsckpass. special is the raw device on which the file system exists.

Options

–F

Specify the FSType on which to operate. The FSType should either be specified here or be determinable from /etc/vfstab by finding an entry in the table that has a numeric fsckpass field and an fsckdev that matches special.

–V

Echo the complete command line, but do not execute the command. The command line is generated by using the options and arguments provided by the user and adding to them information derived from /etc/vfstab. This option may be used to verify and validate the command line.

generic_options

Options that are commonly supported by most FSType-specific command modules. The following options are available:

–i i-list

Limit the report to the files on the i-list that follows. The i-list must be separated by commas with no intervening spaces.

–a

Print the names “.” and “. .” which are ordinarily suppressed.

–s

Report only special files and files with set-user-ID mode. This option may be used to detect violations of security policy.

–o

Specify FSType-specific_options in a comma separated (without spaces) list of suboptions and keyword-attribute pairs for interpretation by the FSType-specific module of the command.

Files

/etc/vfstab

list of default parameters for each file system

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

See Also

vfstab(5), attributes(7)

Manual pages for the FSType-specific modules of ncheck.

Notes

This command may not be supported for all FSTypes.