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