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 #golang, and you can get it here: https://github.com/muesli/duf
On ArchLinux, you can simply install 'duf' from the AUR.
@fribbledom I hope you've heard of ncdu
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 oooh that looks pretty
@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
Yeah, the AUR should pull in latest git.
@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 !
@fribbledom Where's proc?
duf -all
@fribbledom man duf
> OHHH YEAH
Be my guest and write one 😊 The project is literally less than one day old.
Interesting, what kind of interactivity did you expect? 😊
@fribbledom
holy, nice 😅👍🏻
@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 think device name sort more suitable for LVM
@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 mount point, but only because you list it first.
@fribbledom blkid!
@fribbledom 67% of people are wrong.
@gudenau @fribbledom I'm never wrong.
@fribbledom Great! Looks much more useful than
$ watch -n 1 df -h
#cli
@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
I just want to say that is beautiful. ❤️
Thank you!
@fribbledom that's a lot of tb of media. I think I want in on your plex server? ;)
@fribbledom Well, that looks sexy.
@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 looks fantastic!
@fribbledom Neat :)
@fribbledom Neat! Just installed it and it works great, thanks!
@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.
What do you think should be the default sort-order for duf's output?
Sort by...