summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog5
-rw-r--r--doc/coreutils.texi4
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 6cdf3743f..85be546a2 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
+
+ * coreutils.texi (df invocation): df exits nonzero if it outpus
+ nothing.
+
2006-08-09 Paul Eggert <eggert@cs.ucla.edu>
* coreutils.texi (dd invocation): Warn about oflag=append without
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index bf4d32f37..12215c3c1 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -9426,6 +9426,10 @@ Ignored; for compatibility with System V versions of @command{df}.
@end table
@exitstatus
+Failure includes the case where no output is generated, so you can
+inspect the exit status of a command like @samp{df -t ext3 -t reiserfs
+@var{dir}} to test whether @var{dir} is on a file system of type
+@samp{ext3} or @samp{reiserfs}.
@node du invocation