dfc Changelog

What's new in dfc 3.0.5

Oct 9, 2014
  • Contains minor fixes, listed in the changelog file, namely:
  • fixed initialization of LFS (see v3.0.2 release notes). LFS option as existing in v3.0.2-v3.0.4 was just wrong: setting LFS option to false would actually enable LFS option...
  • do not install translated configuration files and man pages when NLS option is disabled
  • fixed typos in the man

New in dfc 3.0.4 (Oct 4, 2013)

  • fixed compilation error on *BSD systems introduced in dfc version 3.0.3

New in dfc 3.0.2 (Apr 10, 2013)

  • 2 bugs were fixed and a specially anoying one affecting 32-bit hosts.

New in dfc 3.0.0 (May 31, 2012)

  • Internalization support: dfc can now be easily translated into other languages. Being a french native speaker, I already translated dfc into French. Of course, if you would like to contribute and translate dfc into a language you speak fluently, you are more that welcomed.
  • An optional configuration file has appeared. It allows you to change dfc colors, symbol used to draw the graphs, values from which usage is considered medium and high and colors used in HTML export. So yes, if Mac OSX user want to change the default '=' sign for a '$' sign, they can definitely do it. :P
  • Auto-adjust feature has been improved. Now, instead of arbitrary disabling options when it estimated that the width was too small, it computes the required width and disables options in a smart way until the output fits the terminal width. Of course, this behavior can still be disabled using the -f option.
  • Mac OSX users may now enjoy the -o option
  • DragonFly BSD support
  • NetBSD support
  • OpenBSD support
  • -d option allows you to see... used size (true: it did not exist in previous releases of dfc !)
  • -e option allows you to export data to other formats. What does this mean? Instead of simply displaying information on your console, the data generated by dfc can now be exported CSV, TeX and HTML format. In my opinion, the most useful one probably is the HTML export. See an example of what it looks like with color and without color . It's now easy to imagine a cron job output results to HTML format and send it via e-mail or something of the kind.
  • -l option allows you to only show information about locally mounted file system (just like the old good df(1) does).
  • -p allows you to perform filtering based on file system name.
  • -q sorts the output based on file system name, file system type or mount point. For those interested, the algorithm used is a merge sort because I think it probably is one of the most efficient and easy to implement considering that the data is stored in a linked list structure (memory problem does not exist here as all it does is changing pointers (but the data to sort is very small anyway)).

New in dfc 2.5.0 (Apr 5, 2012)

  • dfc now works on Mac OS (at least on OSX on which I tried successfully). It only misses the option to show mount options. Thanks to Matthieu Le Jeune who brought the idea.
  • FreeBSD users may now enjoy the "show mount options" option. This was not implemented for FreeBSD in release 2.4.0. Thanks to Cyril Roelandt who wrote a function for that.
  • The Makefile is now 100% BSD make compliant while still being GNU make compliant. No need for GNU make in order to build it on FreeBSD anymore. Thanks to Baptiste Daroussin for his patch (again!).
  • There is one new option: -W prevents the names from being truncated. So if your path is so long that it would normally be truncated, you can still display it (at the risk of breaking the output a little).
  • Perhaps the most noticeable change: the sign used in the graph has changed from * to =. I think it makes it more readable and when I asked people around me, they all agreed. I hope you too think this is an improvement!
  • Some bugs were fixed:
  • Paths that have more than 3 / are not weirdly truncated anymore.
  • No more overlap when using the -o option.
  • A few other bug fixes not worth to mention here.