2 .\" Version 1.4 of namei
6 namei - follow a pathname until a terminal point is found
13 uses its arguments as pathnames to any type
14 of Unix file (symlinks, files, directories, and so forth).
16 then follows each pathname until an endpoint
17 is found (a file, a directory, a device node, etc).
18 If it finds a symbolic link, it shows the link, and starts
19 following it, indenting the output to show the context.
21 This program is useful for finding "too many levels of
22 symbolic links" problems.
24 For each line of output,
26 uses the following characters to identify the file type found:
29 f: = the pathname currently being resolved
31 l = symbolic link (both the link and its contents are output)
37 ? = an error of some kind
41 prints an informative message when
42 the maximum number of symbolic links this system can have has been exceeded.
44 .IP "\fB\-l, \-\-long\fP"
45 Use the long listing format (same as -m -o -v).
46 .IP "\fB\-m, \-\-modes\fP"
47 Show the mode bits of each file type in the style of ls(1),
48 for example 'rwxr-xr-x'.
49 .IP "\fB\-o, \-\-owners\fP"
50 Show owner and group name of each file.
51 .IP "\fB\-n, \-\-nosymlinks\fP"
52 Don't follow symlinks.
53 .IP "\fB\-v, \-\-vertical\fP"
54 Vertically align the modes and owners.
55 .IP "\fB\-x, \-\-mountpoints\fP"
56 Show mountpoint directories with a 'D' rather than a 'd'.
57 .IP "\fB\-h\fR, \fB\-\-help\fR"
58 Output help text and exit.
59 .IP "\fB\-V\fR, \fB\-\-version\fR"
60 Output version information and exit.
64 program was written by Roger Southwick <rogers@amadeus.wr.tek.com>.
66 The program was re-written by Karel Zak <kzak@redhat.com>.
73 The namei command is part of the util-linux package and is available from
74 ftp://ftp.kernel.org/pub/linux/utils/util-linux/.