blob: d7a0b2d11a2cadcd29d80e6520d77d427ab074d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
'\" te
.\" Copyright 1989 AT&T Copyright (c) 2001, Sun Microsystems, Inc. All Rights Reserved
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH ncheck 1M "30 May 2001" "SunOS 5.11" "System Administration Commands"
.SH NAME
ncheck \- generate a list of path names versus i-numbers
.SH SYNOPSIS
.LP
.nf
\fBncheck\fR [\fB-F\fR \fIFSType\fR] [\fB-V\fR] [\fIgeneric_options\fR]
[\fB-o\fR \fIFSType-specific_options\fR] [\fIspecial\fR]...
.fi
.SH DESCRIPTION
.sp
.LP
\fBncheck\fR with no options generates a path-name versus i-number list of all
files on \fIspecial\fR. If \fIspecial\fR is not specified on the command line
the list is generated for all \fIspecial\fRs in \fB/etc/vfstab\fR which have a
numeric \fBfsckpass\fR. \fIspecial\fR is the raw device on which the file
system exists.
.SH OPTIONS
.sp
.ne 2
.mk
.na
\fB\fB-F\fR\fR
.ad
.RS 19n
.rt
Specify the \fIFSType\fR on which to operate. The \fIFSType\fR should either
be specified here or be determinable from \fB/etc/vfstab\fR by finding an
entry in the table that has a numeric \fBfsckpass\fR field and an
\fBfsckdev\fR that matches \fIspecial\fR.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-V\fR\fR
.ad
.RS 19n
.rt
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 \fB/etc/vfstab\fR. This option may be
used to verify and validate the command line.
.RE
.sp
.ne 2
.mk
.na
\fB\fIgeneric_options\fR\fR
.ad
.RS 19n
.rt
Options that are commonly supported by most FSType-specific command modules.
The following options are available:
.sp
.ne 2
.mk
.na
\fB\fB-i\fR\fI i-list\fR\fR
.ad
.RS 13n
.rt
Limit the report to the files on the \fIi-list\fR that follows. The
\fIi-list\fR must be separated by commas with no intervening spaces.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-a\fR\fR
.ad
.RS 13n
.rt
Print the names "." and ".\|." which are ordinarily suppressed.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-s\fR\fR
.ad
.RS 13n
.rt
Report only special files and files with set-user-ID mode. This option may be
used to detect violations of security policy.
.RE
.RE
.sp
.ne 2
.mk
.na
\fB\fB-o\fR\fR
.ad
.RS 19n
.rt
Specify \fIFSType-specific_options\fR in a comma separated (without spaces)
list of suboptions and keyword-attribute pairs for interpretation by the
FSType-specific module of the command.
.RE
.SH USAGE
.sp
.LP
See \fBlargefile\fR(5) for the description of the behavior of \fBncheck\fR when
encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
.SH FILES
.sp
.ne 2
.mk
.na
\fB\fB/etc/vfstab\fR\fR
.ad
.RS 15n
.rt
list of default parameters for each file system
.RE
.SH SEE ALSO
.sp
.LP
\fBvfstab\fR(4), \fBattributes\fR(5), \fBlargefile\fR(5) Manual pages for the
FSType-specific modules of \fBncheck\fR
.SH NOTES
.sp
.LP
This command may not be supported for all \fIFSTypes\fR.
|