Follow

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: github.com/muesli/duf

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

Show thread

@sir

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

@amolith

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'

@dualhammers

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!

@dualhammers

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.

@fribbledom yo this is the slappinest df I've ever seen !

@shlee

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

@brad

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 probably want it sorted by free disk space :)

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

@fribbledom I think it should be configurable
any interest in a PR (or similar) once I have cni made?

@fribbledom
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
and
$ 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'?

@_xhr_

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

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!