BSD 4_3_Reno release
[unix-history] / usr / src / usr.bin / du / du.1
index c965680..b50b278 100644 (file)
@@ -1,28 +1,36 @@
 .\" Copyright (c) 1990 The Regents of the University of California.
 .\" All rights reserved.
 .\"
 .\" Copyright (c) 1990 The Regents of the University of California.
 .\" All rights reserved.
 .\"
-.\" %sccs.include.redist.man%
+.\" Redistribution and use in source and binary forms are permitted provided
+.\" that: (1) source distributions retain this entire copyright notice and
+.\" comment, and (2) distributions including binaries display the following
+.\" acknowledgement:  ``This product includes software developed by the
+.\" University of California, Berkeley and its contributors'' in the
+.\" documentation or other materials provided with the distribution and in
+.\" all advertising materials mentioning features or use of this software.
+.\" Neither the name of the University nor the names of its contributors may
+.\" be used to endorse or promote products derived from this software without
+.\" specific prior written permission.
+.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
+.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 .\"
 .\"
-.\"     @(#)du.1       6.8 (Berkeley) %G%
+.\"     @(#)du.1       6.7 (Berkeley) 7/24/90
 .\"
 .\"
-.Dd 
+.Dd July 24, 1990
 .Dt DU 1
 .Os BSD 4.4
 .Sh NAME
 .Nm du
 .Dt DU 1
 .Os BSD 4.4
 .Sh NAME
 .Nm du
-.Nd display disk usage statistics
+.Nd Display disk usage statistics
 .Sh SYNOPSIS
 .Nm du
 .Op Fl aksx
 .Op Ar pathname ...
 .Sh DESCRIPTION
 .Sh SYNOPSIS
 .Nm du
 .Op Fl aksx
 .Op Ar pathname ...
 .Sh DESCRIPTION
-The
-.Nm du
-utility displays the file system block usage of each file argument
-or of each directory in the file hierarchy rooted in each directory
-argument.
-By default, the block usage of the hierarchy rooted in the current
-directory is displayed.
+.Nm Du
+utility displays the block usage of files in the current directory
+or for the entire tree of a given pathname.
 .Pp
 The options are as follows:
 .Tw Ds
 .Pp
 The options are as follows:
 .Tw Ds
@@ -40,12 +48,17 @@ flag is specified, the number displayed is the number of 1024-byte
 blocks with partial blocks rounded up.
 .Tp Fl s
 Generate only the grand total.
 blocks with partial blocks rounded up.
 .Tp Fl s
 Generate only the grand total.
+If neither
+.Fl a
+or
+.Fl s
+are specified, an entry is generated for each directory only.
 .Tp Fl x
 Don't traverse any mount points.
 .Tp
 .Pp
 .Tp Fl x
 Don't traverse any mount points.
 .Tp
 .Pp
-Files having multiple hard links are counted (and displayed) a single
-time per
+Files having multiple hard links are counted
+(and displayed) a single time per
 .Nm du
 execution.
 .Sh SEE ALSO
 .Nm du
 execution.
 .Sh SEE ALSO