- Improve description of the -A option.

- Document how whiteouts look in the long output. [1]
- Sort entry types.
- Fix description of the socket type.

PR:		docs/51921 [1]
This commit is contained in:
Ruslan Ermilov 2006-10-12 10:08:52 +00:00
parent 79d9a182ab
commit 32fcd4577f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163263

View file

@ -32,7 +32,7 @@
.\" @(#)ls.1 8.7 (Berkeley) 7/29/94 .\" @(#)ls.1 8.7 (Berkeley) 7/29/94
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd March 24, 2006 .Dd October 12, 2006
.Dt LS 1 .Dt LS 1
.Os .Os
.Sh NAME .Sh NAME
@ -68,7 +68,10 @@ lexicographical order.
The following options are available: The following options are available:
.Bl -tag -width indent .Bl -tag -width indent
.It Fl A .It Fl A
List all entries except for Include directory entries whose names begin with a
dot
.Pq Sq Pa \&.
except for
.Pa \&. .Pa \&.
and and
.Pa .. . .Pa .. .
@ -159,7 +162,7 @@ Display each file's MAC label; see
.It Fl a .It Fl a
Include directory entries whose names begin with a Include directory entries whose names begin with a
dot dot
.Pq Pa \&. . .Pq Sq Pa \&. .
.It Fl b .It Fl b
As As
.Fl B , .Fl B ,
@ -364,6 +367,8 @@ The entry type character describes the type of file, as
follows: follows:
.Pp .Pp
.Bl -tag -width 4n -offset indent -compact .Bl -tag -width 4n -offset indent -compact
.It Sy \-
Regular file.
.It Sy b .It Sy b
Block special file. Block special file.
.It Sy c .It Sy c
@ -372,12 +377,12 @@ Character special file.
Directory. Directory.
.It Sy l .It Sy l
Symbolic link. Symbolic link.
.It Sy s
Socket link.
.It Sy p .It Sy p
.Tn FIFO . .Tn FIFO .
.It Sy \- .It Sy s
Regular file. Socket.
.It Sy w
Whiteout.
.El .El
.Pp .Pp
The next three fields The next three fields