summaryrefslogtreecommitdiffstats
path: root/misc-utils/namei.1
diff options
context:
space:
mode:
authorKarel Zak2008-10-30 10:19:39 +0100
committerKarel Zak2008-11-13 23:25:46 +0100
commitc84a633a92f534452a0b79bc6f909d0f2e1c17d5 (patch)
treeb8970305fc62890a19637a81c2962bbfe348138c /misc-utils/namei.1
parentfdisk: support +cylinder notation (diff)
downloadkernel-qcow2-util-linux-c84a633a92f534452a0b79bc6f909d0f2e1c17d5.tar.gz
kernel-qcow2-util-linux-c84a633a92f534452a0b79bc6f909d0f2e1c17d5.tar.xz
kernel-qcow2-util-linux-c84a633a92f534452a0b79bc6f909d0f2e1c17d5.zip
namei: new re-written version
This new version: * not based on chdir() * implemented without recursion (does not depend on stack size) * list of directories is stored in allocated memory (the code is extendable with new functionality (e.g. show usernames, groupnames, selunux contexts, ...). * supports long command line options * adds a new command line option: -n, --nosymlinks don't follow symlinks Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/namei.1')
-rw-r--r--misc-utils/namei.118
1 files changed, 9 insertions, 9 deletions
diff --git a/misc-utils/namei.1 b/misc-utils/namei.1
index 394eb6dff..e35f870b0 100644
--- a/misc-utils/namei.1
+++ b/misc-utils/namei.1
@@ -5,10 +5,7 @@
.SH NAME
namei - follow a pathname until a terminal point is found
.SH SYNOPSIS
-.B namei
-.I [-mx]
-.I pathname
-.I "[ pathname ... ]"
+\fBnamei\fR [\fIoptions\fR] \fIpathname\fR [\fIpathname\fR ...]
.SH DESCRIPTION
.I Namei
uses its arguments as pathnames to any type
@@ -42,15 +39,18 @@ outputs a the following characters to identify the file types found:
prints an informative message when
the maximum number of symbolic links this system can have has been exceeded.
.SH OPTIONS
-.TP 8
-.B -x
+.IP "\fB\-x, \-\-mountpoints\fP"
Show mount point directories with a 'D', rather than a 'd'.
-.TP 8
-.B -m
+.IP "\fB\-m, \-\-modes\fP"
Show the mode bits of each file type in the style of ls(1),
for example 'rwxr-xr-x'.
+.IP "\fB\-n, \-\-nosymlinks\fP"
+Don't follow symlinks.
.SH AUTHOR
-Roger Southwick (rogers@amadeus.wr.tek.com)
+The original
+.B namei
+program was written by Roger Southwick <rogers@amadeus.wr.tek.com>.
+The program was re-written by Karel Zak <kzak@redhat.com>.
.SH BUGS
To be discovered.
.SH "SEE ALSO"