Research V4 development
[unix-history] / man / man1 / du.1
CommitLineData
d519b4a7
DR
1.th DU I 1/20/73
2.sh NAME
3du \*- summarize disk usage
4.sh SYNOPSIS
5.bd du
6[
7.bd \*-s
8] [
9.bd \*-a
10] [ name ... ]
11.sh DESCRIPTION
12.it Du
13gives the number of blocks contained in all files
14and (recursively) directories within each specified directory or
15file
16.it name.
17If
18.it name
19is missing,
20`\fB.\fR'
21is used.
22.s3
23The optional argument
24.bd \*-s
25causes only the grand total to
26be given.
27The optional argument
28.bd \*-a
29causes an entry to be generated
30for each file.
31Absence of either causes an entry to be generated for
32each directory only.
33.s3
34A file which has two links to it is only counted once.
35.sh BUGS
36Non-directories
37given as arguments (not under
38.bd \*-a
39option) are not listed.
40.s3
41Removable
42file systems do not work correctly
43since i-numbers may be repeated while the corresponding
44files are distinct.
45.it Du
46should maintain an i-number list per root directory
47encountered.