]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - misc-utils/namei.1
lsblk: check stat() return code [coverity scan]
[thirdparty/util-linux.git] / misc-utils / namei.1
index 82f5d784f6c796d64b9235af3d49194185d56cc3..f09e957817335853f81570db795eec60ebd3b869 100644 (file)
@@ -1,16 +1,13 @@
-.\"
-.\" Version 1.4 of namei
-.\"
-.TH NAMEI 1 "Local"
+.TH NAMEI 1 "June 2011" "util-linux" "User Commands"
 .SH NAME
-namei - follow a pathname until a terminal point is found
+namei \- follow a pathname until a terminal point is found
 .SH SYNOPSIS
 .B namei
-.RI [ options ]
-.IR  pathname ...
+[options]
+.IR pathname ...
 .SH DESCRIPTION
 .B namei
-uses its arguments as pathnames to any type
+interprets its arguments as pathnames to any type
 of Unix file (symlinks, files, directories, and so forth).
 .B namei
 then follows each pathname until an endpoint
@@ -41,30 +38,43 @@ uses the following characters to identify the file type found:
 prints an informative message when
 the maximum number of symbolic links this system can have has been exceeded.
 .SH OPTIONS
-.IP "\fB\-l, \-\-long\fP"
-Use the long listing format (same as -m -o -v).
-.IP "\fB\-m, \-\-modes\fP"
+.TP
+.BR \-l , " \-\-long"
+Use the long listing format (same as \fB\-m \-o \-v\fR).
+.TP
+.BR \-m , " \-\-modes"
 Show the mode bits of each file type in the style of ls(1),
 for example 'rwxr-xr-x'.
-.IP "\fB\-o, \-\-owners\fP"
-Show owner and group name of each file.
-.IP "\fB\-n, \-\-nosymlinks\fP"
+.TP
+.BR \-n , " \-\-nosymlinks"
 Don't follow symlinks.
-.IP "\fB\-v, \-\-vertical\fP"
+.TP
+.BR \-o , " \-\-owners"
+Show owner and group name of each file.
+.TP
+.BR \-v , " \-\-vertical"
 Vertically align the modes and owners.
-.IP "\fB\-x, \-\-mountpoints\fP"
+.TP
+.BR \-x , " \-\-mountpoints"
 Show mountpoint directories with a 'D' rather than a 'd'.
+.TP
+.BR \-V , " \-\-version"
+Display version information and exit.
+.TP
+.BR \-h , " \-\-help"
+Display help text and exit.
 .SH AUTHOR
 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>.
+.sp
+The program was rewritten by Karel Zak <kzak@redhat.com>.
 .SH BUGS
 To be discovered.
 .SH "SEE ALSO"
 .BR ls (1),
-.BR stat (1)
+.BR stat (1),
+.BR symlink (7)
 .SH AVAILABILITY
 The namei command is part of the util-linux package and is available from
-ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
+https://www.kernel.org/pub/linux/utils/util-linux/.