Penguin
Annotated edit history of namei(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 NAMEI
2 !!!NAMEI
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 AUTHOR
8 BUGS
9 CAVEATS
10 SEE ALSO
11 ----
12 !!NAME
13
14
15 namei - follow a pathname until a terminal point is found
16 !!SYNOPSIS
17
18
19 __namei__ ''[[-mx] pathname [[ pathname ...
20 ]''
21 !!DESCRIPTION
22
23
24 ''Namei'' uses its arguments as pathnames to any type of
25 Unix file (symlinks, files, directories, and so forth).
26 ''Namei'' then follows each pathname until a terminal
27 point is found (a file, directory, char device, etc). If it
28 finds a symbolic link, we show the link, and start following
29 it, indenting the output to show the context.
30
31
32 This program is useful for finding a
33
34
35 For each line output, ''namei'' outputs a the following
36 characters to identify the file types found:
37
38
39 f: = the pathname we are currently trying to resolve
40 d = directory
41 l = symbolic link (both the link and it's contents are output)
42 s = socket
43 b = block device
44 c = character device
45 - = regular file
46 ? = an error of some kind
47 ''Namei'' prints an informative message when the maximum number of symbolic links this system can have has been exceeded.
48 !!OPTIONS
49
50
51 __-x__
52
53
54 Show mount point directories with a 'D', rather than a
55 'd'.
56
57
58 __-m__
59
60
61 Show the mode bits of each file type in the style of ls(1),
62 for example 'rwxr-xr-x'.
63 !!AUTHOR
64
65
66 Roger Southwick (rogers@amadeus.wr.tek.com)
67 !!BUGS
68
69
70 To be discovered.
71 !!CAVEATS
72
73
74 ''Namei'' will follow an infinite loop of symbolic links
75 forever. To escape, use SIGINT (usually ^C).
76 !!SEE ALSO
77
78
79 ls(1), stat(1)
80 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.