|
|
1.1 root 1: .TH DU 1
2: .CT 1 sa_mortals
3: .SH NAME
4: du, df \- disk usage
5: .SH SYNOPSIS
6: .B du
7: [
8: .B -s
9: ]
10: [
11: .B -a
12: ]
13: [
14: .I file ...
15: ]
16: .PP
17: .B df
18: [
19: .B -i
20: ]
21: [
22: .I special ...
23: ]
24: [
25: .I file ...
26: ]
27: .SH DESCRIPTION
28: .I Du
29: gives the number of Kbytes allocated to data blocks
30: of named
31: .I files
32: and, recursively, of files in named directories.
33: If
34: .I name
35: is missing,
36: .L .
37: is used.
38: The count for a directory includes the counts of the
39: contained files and directories.
40: The options are
41: .PP
42: .TP
43: .B -s
44: Print only the grand total.
45: .TP
46: .B -a
47: Print a count
48: for every file in a directory.
49: Normally counts are printed only for contained directories.
50: .PP
51: A file which has two (hard) links to it is counted only once.
52: Symbolic links are neither counted nor followed.
53: .PP
54: .I Df
55: printsthe amount of free space on the file system
56: contained in
57: .IR special ,
58: or on the file system in which the specified
59: .I file
60: is contained.
61: If no file system is specified,
62: the free space on all of
63: the currently mounted file systems
64: is printed.
65: .PP
66: The reported numbers are in Kbytes,
67: independently of the blocksize actually used on the file system.
68: .PP
69: The
70: .B -i
71: option also reports
72: the number of inodes which are used and free.
73: .SH EXAMPLES
74: .TP
75: .L
76: df .
77: .br
78: How much space is there where I'm working?
79: .SH FILES
80: .TF /etc/fstab
81: .TP
82: .F /etc/fstab
83: only for the root device
84: .TP
85: .F /etc/mtab
86: list of currently mounted file systems
87: .SH SEE\ ALSO
88: .IR quot (8),
89: .IR fstab (5),
90: .IR icheck (8)
91: .SH BUGS
92: In the absence of option
93: .B -a
94: non-directories given as arguments to
95: .I du
96: are not listed.
97: .br
98: If there are too many distinct linked files,
99: .I du
100: counts the excess files multiply.
101: .br
102: Unwritten holes in files count as if real data were present,
103: and indirect blocks are not counted.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.