Commit | Line | Data |
---|---|---|
5bd84e21 KM |
1 | .\" Copyright (c) 1980 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
015a76ec | 5 | .\" @(#)ncheck.8 6.3 (Berkeley) %G% |
5bd84e21 | 6 | .\" |
2651fe1f | 7 | .TH NCHECK 8 "" |
5bd84e21 KM |
8 | .UC 4 |
9 | .SH NAME | |
227c64e4 | 10 | ncheck \- generate names from i-numbers |
5bd84e21 | 11 | .SH SYNOPSIS |
015a76ec | 12 | .B ncheck |
5bd84e21 KM |
13 | [ |
14 | .B \-i | |
227c64e4 | 15 | numbers ] [ |
5bd84e21 KM |
16 | .B \-a |
17 | ] [ | |
18 | .B \-s | |
227c64e4 | 19 | ] filesystems ... |
5bd84e21 KM |
20 | .SH DESCRIPTION |
21 | .B N.B.: | |
22 | For most normal file system maintenance, the function of | |
23 | .I ncheck | |
24 | is subsumed by | |
25 | .IR fsck (8). | |
26 | .PP | |
27 | .I Ncheck | |
227c64e4 | 28 | with no options |
5bd84e21 KM |
29 | generates a pathname vs. i-number |
30 | list of all files | |
227c64e4 | 31 | on every specified filesystem. |
5bd84e21 KM |
32 | Names of directory files are followed by `/\fB.\fR'. |
33 | The | |
34 | .B \-i | |
35 | option reduces the report to only those files whose i-numbers follow. | |
36 | The | |
37 | .B \-a | |
38 | option | |
39 | allows printing of the names | |
40 | .RB ` . ' | |
41 | and | |
42 | .RB ` .. ', | |
43 | which are ordinarily suppressed. | |
5bd84e21 KM |
44 | The |
45 | .B \-s | |
46 | option reduces the report to special files | |
47 | and files with set-user-ID mode; | |
48 | it is intended to discover concealed violations | |
49 | of security policy. | |
50 | .PP | |
5bd84e21 KM |
51 | The report is in no useful |
52 | order, and probably should be sorted. | |
53 | .SH "SEE ALSO" | |
54 | sort(1), dcheck(8), fsck(8), icheck(8) | |
55 | .SH DIAGNOSTICS | |
56 | When the filesystem structure is improper, | |
57 | `??' denotes the `parent' of | |
58 | a parentless file and | |
59 | a pathname beginning with `...' denotes a loop. |