dfc: dfc 2.5.0 Brings Mac OS support

Added by Robin Hahling over 5 years ago

Many contributors to thank for this release!

So... What's new?

  • 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.

Apart from that, code has been largely re-organized to be less monolithic. I started dfc(1) as a small project but by adding features at user's request it just kept getting bigger while still coded as a small program. I do not say that dfc(1) is a large program but 1723 lines of code (as of this release) is too much to be all in one file. So now, it should be ready for future improvements.

This release should be the last one before 3.0.0 release unless someone helps me port dfc(1) to OpenBSD and NetBSD. Porting to OpenBSD should not be difficult at all but it might cause a little more trouble for NetBSD.

I enjoy this new version of dfc better than the previous one and I hope you too!

dfc: dfc 2.4.0 brings FreeBSD support

Added by Robin Hahling over 5 years ago

With this release, thanks to Baptiste Daroussin, dfc has been ported to FreeBSD and is available in the ports.

What else has changed? Nothing much from a user point of view. Code has been reorganized to prepare for future options and some minor bugs were fixed.

I hope you enjoy it!

dfc: dfc 2.3.0 unleached!

Added by Robin Hahling over 5 years ago

Another day, another release :-P

However, release cycle will slow down starting from this version as I think dfc now has all the major features that were desirable.

What has changed since yesterday's 2.2.0 release?
  • Code optimization and various small bug fixes
  • -t option now support negative matching for file system filtering. To activate it, you just need to prepend a "-" to the file system type you do not want to see. Example:
    dfc -t -rootfs,tmpfs

    This will make dfc display all file systems except rootfs and tmpfs.
  • String that were too long are now truncated. For instance, the following

    would be truncated like this, with a "+" sign indicating that it has been truncated:

    This avoids the output from being messed up.
  • The output now auto-adjusts based on terminal width. This behavior can be overridden with the new -f option.

As always, I hope you enjoy it as much as I do!

dfc: dfc 2.2.0 is available

Added by Robin Hahling over 5 years ago

Another day, another release of dfc :)

I implemented some of the features that were requested.
  • Color option is now improved: you can choose between 3 modes (auto, always, never). By default, auto is activated.
  • Multiple selection is now possible when filtering with -t option. For instance you could run the following:
    dfc -t ext2,ext4,rootfs

    And the output will show only info about those type of file system.

If you want more information about these, just read the manpage.

Along with those two features, I fixed a lot of bugs and notably the one that would make dfc exit when it could not stat of file because of read permission (now it just skips it and displays a warning).

I hope you enjoy this release too!

dfc: dfc 2.1.0 is there!

Added by Robin Hahling over 5 years ago

Well, a new version of dfc already. This is a small bump in the version number but there are actually quite a few changes and the code has been largely modified.

First, there is two bugfixes:
  • -s option does now sum the total of inodes when -i option is triggered
  • When using human readable, sizes in bytes were display like so 3.0B which does not make sense at all cause there is no half-byte.
Now for the new features:
  • Color is now automatically in "color-auto" mode. What does this mean? Well, if you use dfc in your terminal, there won't be any changes. However, if the output is not a terminal, color mode is disabled. It is useful if you pipe the output of dfc into another program for instance.
  • Unit option has been completely reorganized. There is no more -k, -K, -m, (and so on) option. Instead, you may use the -u option which requires a sub-option. Let's say you want to display the size in Gio, you will then use this command:
    dfc -u g

    If you want SI units, you can combine this with the new -m option which converts the units to SI. So to display the size in Go, you will use the following:
    dfc -u g -m

    Of course, -m option can be used alone and this would mean that the output would be in human-readable mode using SI.
  • dfc now supports Tio, Pio, Eio, Zio and Yio units (and as such, To, Po, Eo, Zo, Yo). By not having such huge storage, I cannot assure you it works but it should ;).
  • When using -i option, a k is now appended to the number of inodes and this number is divided by 1000. This makes it more readable.
  • -b option allows you to not display the graph bar. It can be useful on narrow screens.
  • -T is a new options that shows the filesystem type. Now, filesystem type is not displayed by default.
  • -t option allows you to perform filtering on filesystem type. For instance, you could filter the output to display ext4 type of filesystem only. To do so, you would just type the following:
    dfc -t ext4

So, as I wrote: less is more. Less because there are fewer options by the number but a lot more options in terms of functionality (thanks to sub-options).

As always, I hope you will enjoy it as much as I enjoy writing it!



dfc: dfc 2.0.0 is out!

Added by Robin Hahling over 5 years ago

...I know this is not common... but I was motivated enough today to bring you... another release!

So now, dfc 2.0.0 is out but... what's new?
  • Color support: enabled by default. If you want to disable it, then use the new -c option.
  • -o option shows information about mount options.

Code has been also a little bit more reorganized.

As always, tell me if you find any bug or wish I implement a new feature and... enjoy!

dfc: dfc version 1.2.0 is available

Added by Robin Hahling over 5 years ago

Yep, version 1.2.0 is already available.

What's new over version 1.1.4?

For the invisible part, code has been re-factored in some ways.
For what you will notice:
  • Filesystem name is now less truncated (ie: something like /dev/mapper/home/foo was previously truncated to /dev/mapper causing the loss of useful information and is now truncated to /dev/mapper/home)
  • Default behavior is now to print size in human-readable format (other options still available)
  • -b option to display size in Bytes (which was the default previously)
  • -i option prints information about the number of inodes and the available ones

Well, I think dfc is getting more mature. Hope you enjoy and do not hesitate to contact me if there is a feature that you would like to see implemented or if you encounter some bugs!

dfc: Version 1.1.0 available

Added by Robin Hahling over 5 years ago

I know that not much time has passed since the first version of dfc was out.
However, here comes a new version already.

So, what are the changes?

Here is the list:

  • large filesystem names should now be truncated to avoid messing up what is displayed
  • Makefile now supports the DESTDIR option
  • proc, sys and devpts are not displayed anymore
  • new option to hide the filesystem type by using -t
  • first decimal is now displayed when using Mio and Mo
  • new option to display the size in Ko, Mo and Go instead of Kio, Mio and Gio
  • new option to display a wider bar by using -w
  • new option that display the total usage by using -s
  • new option that allows to skip displaying the header

I hope you enjoy it!

dfc: First version of dfc released!

Added by Robin Hahling over 5 years ago

One of my teachers at university showed me once a bash script he uses called dfs that would display the file system usage in the same way as df(1) but with a graph. I found this little tool nice but wanted to modify it to fit my needs. However, when I saw how it was written, I just did not want to put my hands into that.
Therefore, I wrote my own in C.

This is the first release and more options will be implemented in the future, like the "human readable" option and color support in order to have an even nicer output.
I thought some other people would find it somewhat useful so here I release it!

LinCopier: New website for LinCopier

Added by Robin Hahling over 5 years ago

Hi all,

we've began developing LinCopier back in September 2010 (wow, amazing how time flies!) but the project never really had a website.
LinCopier was hosted on but as I like to be independent from any companies, I moved the project to my own dedicated server. I think that ChiliProject, the Redmine fork that is used here, has lots of nice features like issues management, wiki, forums, repository viewer and so on that will not make us miss I still need to tweak it a bit but I am already really pleased with it. :-)

In the meantime, I switched the project from mercurial to git as a CVS. As we already use git on this server, we thought it would just be more simple. It will be possible to navigate through the git repository on this website soon: I just need to find some time to integrate it.

I hope I'll write a new post soon to announce the second alpha release.

Thanks to all supporting this project and especially those that already contributed in various ways like bug fixing or simply encouragement words (yes, I especially think of you, brunod).


Also available in: Atom