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 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 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 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...
@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...
That's the plan!
@fribbledom Looks like a definite step up :)
What do you think should be the default sort-order for duf's output?
Sort by...