diff options
author | Jim Meyering <jim@meyering.net> | 2006-07-20 15:42:26 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-07-20 15:42:26 +0000 |
commit | 2060c55141708d2ff09cc34d27c0a2a856a21c28 (patch) | |
tree | f47d271ec50076d9d9835c8adab3616989351274 /ChangeLog | |
parent | 6ad7eac04f03b709c045914fa9374f55a0acbc80 (diff) | |
download | coreutils-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-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |