summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-29 21:32:40 +0200
committerJim Meyering <meyering@redhat.com>2008-05-29 21:32:40 +0200
commit9f678af5f3afc245c93d13a1af624c6050c3b3b6 (patch)
treeda58fa2a40bb8e01959cdff78948fd7761d30227 /doc
parent8581bcc9e3610be735c393650605b56f019695af (diff)
downloadcoreutils-9f678af5f3afc245c93d13a1af624c6050c3b3b6.tar.xz
improve description of du's--separate-dirs option
* coreutils.texi (du invocation): Prompted by Volker Badziong's report in http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13646
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 982ad3c74..dbc8a8b0c 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -32,6 +32,8 @@
@c * [: (coreutils)[ invocation. File/string tests.
@c * pinky: (coreutils)pinky invocation. FIXME.
@c * uptime: (coreutils)uptime invocation. FIXME.
+@c * mktemp: (coreutils)mktemp invocation. FIXME.
+@c * chcon: (coreutils)chcon invocation. FIXME.
@dircategory Individual utilities
@direntry
@@ -9838,8 +9840,12 @@ Display only a total for each argument.
@itemx --separate-dirs
@opindex -S
@opindex --separate-dirs
-Report the size of each directory separately, not including the sizes
-of subdirectories.
+Normally, in the output of @command{du} (when not using @option{--summarize}),
+the size listed next to a directory name, @var{d}, represents the sum
+of sizes of all entries beneath @var{d} as well as the size of @var{d} itself.
+With @option{--separate-dirs}, the size reported for a directory name,
+@var{d}, is merely the @code{stat.st_size}-derived size of the directory
+entry, @var{d}.
@itemx --time
@opindex --time