summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-07-20 15:42:26 +0000
committerJim Meyering <jim@meyering.net>2006-07-20 15:42:26 +0000
commit2060c55141708d2ff09cc34d27c0a2a856a21c28 (patch)
treef47d271ec50076d9d9835c8adab3616989351274 /ChangeLog
parent6ad7eac04f03b709c045914fa9374f55a0acbc80 (diff)
downloadcoreutils-2060c55141708d2ff09cc34d27c0a2a856a21c28.tar.xz
* src/df.c (main): Fail and don't print the headers if no
file system is processed. This makes it easy to test whether a specified directory is on a file system of a given type or types. Otherwise, applications would have had to parse df's output. E.g., is "." either ext3 or reiserfs: df -t ext3 -t reiserfs .
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 81233d4bd..2f4a20ee9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-07-20 Jim Meyering <jim@meyering.net>
+ * src/df.c (main): Fail and don't print the headers if no
+ file system is processed. This makes it easy to test whether
+ a specified directory is on a file system of a given type or types.
+ Otherwise, applications would have had to parse df's output.
+ E.g., is "." either ext3 or reiserfs: df -t ext3 -t reiserfs .
+
Fix a bug: ls --file-type worked like --indicator-style=slash,
rather than like --indicator-style=file-type.
* src/ls.c (FILE_TYPE_INDICATOR_OPTION): New enum member.