I was pretty fed up with the behavior of 'df', so I wrote my own diskfree tool.

It's called 'duf', it's written in , and you can get it here:

On ArchLinux, you can simply install 'duf' from the AUR.

What do you think should be the default sort-order for duf's output?

Sort by...


Of course! This is more of a 'df' replacement, even tho I have plans that would justify the 'u' in 'duf' 😄


Thanks for the lovely screenshot 😊

Reminds me, I need to annotate the error. It's probably something you see with regular 'df' as well, unless you run it as root? Probably something about /run/user/1000/doc or the likes?

@fribbledom I just tried using this and it's visually quite lovely.

But it's not showing drives that I have connected via usb / my laptop's card reader, which are both listed in 'df'


Thanks, I will look into this! If there's any chance, could you DM me a screenshot of both 'duf -all' and 'df' outputs?

Thank you!


Ok, I think I may have just fixed this issue. Can you check out the latest git-master of duf, please?

@fribbledom Is the AUR version git-master? I added it from AUR via Manjaro's Add/Remove app

@fribbledom pulling a big batch of updates. I will let you know what happens.


Be my guest and write one 😊 The project is literally less than one day old.

@fribbledom interesting, I thought it'd be interactive based on the screenshot, but I see now it just prints out the info still


Interesting, what kind of interactivity did you expect? 😊

@fribbledom well, I expected the whole shell to be taken over and maybe it would constantly refresh it. It just sorta looked like a TUI program.
I guess thinking on it, now, there's not that much interactivity it could've had. Maybe sorting the outputs different ways.

@fribbledom "disk unfree"?

Thank you so much, I will try it out.

@fribbledom Mointpoint then device name for when there are multiple devices under /a/common/path/

@fribbledom I'd say mountpoint because I feel like I'm more likely to realise I'm not interacting with the device I think I am when I'm looking at the mountpoint and a program is giving me an unexpected capacity.

I got it running in an instant!
I have two-ish questions:
1. On my machine, it shows some "permission denieds" on docker volumes. Can I somehow hide these?
2. It looks similar to htop, but gives only a single time output. Do you have plans for a continuous mode?
2b. I tried to run it through both
$ watch -c #to make up for continuous mode
$ less -R
and the color information is lost in both cases. Is there a way to force it to colorize the output?

@fribbledom that's a lot of tb of media. I think I want in on your plex server? ;)

@fribbledom Nice looking!

Can you elaborate on why you were fed up with the classic 'df'?


The cluttered output made it feel like a game of "Where's Waldo?".

@fribbledom I haven't installed it (yet) but I just want to say it looks absolutely beautiful and sleek. Thanks for putting it out there.

@fribbledom The colours in the topmost table seem off. Either have both the absolute and relative avaible space in the same colour, or don't colour the absolute values? Feels weird, if they are different colours...

@muesli Nice! Really like how much the presentation helps highlight the most important info.

@fribbledom Looks beautiful! For the name duf, maybe it would be possible to have it show filesystems (like df) with e.g. "duf /dev/sda*" (block devices), as well as subdirectory sizes (like du) with e.g. "duf /home"? That would solve all name confusion problems with those two tools...

Sign in to participate in the conversation

The original server operated by the Mastodon gGmbH non-profit