minix/man/man1/du.1
Ben Gras a9dd9784d1 Added truncate(1) manpage; added comment about holes in du; removed
minix-vmd specificness of F_FREESP as minix now implements it too.
2006-01-11 17:18:53 +00:00

37 lines
985 B
Groff

.TH DU 1
.SH NAME
du \- print disk usage
.SH SYNOPSIS
\fBdu\fR [\fB\-as\fR]\fR [\fB\-l \fIn\fR] \fIdir\fR ...\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH OPTIONS
.FL "\-a" "Give usage for all files"
.FL "\-l" "List up to \fIn\fR levels of subdirectories"
.FL "\-d" "Do not cross file system boundaries"
.FL "\-s" "Summary only"
.SH EXAMPLES
.EX "du dir" "List disk space used by files in dir"
.EX "du \-s dir1 dir2" "Give summaries only"
.EX "du \-d /" "Show only the root device"
.SH DESCRIPTION
.PP
\fIDu\fR examines one or more directories and prints the amount of space
occupied by the files in those directories and their subdirectories.
.SH BUGS
\fIDu\fR calculates disk usage based on file size. It could be there
are holes in the file, not occupying any actual disk blocks, causing
\fIdu\fR to overestimate disk usage. (\fIDu\fR does recognize and correctly
calculate disk usage when hard links are encountered.)
.SH "SEE ALSO"
.BR df (1).