[ale] df Aliases to remove cruft from loop devices?
DJ-Pfulio
DJPfulio at jdpfu.com
Tue May 28 14:36:09 EDT 2019
Thanks for pointing out the 'loop' stuff was completely missed in my
first attempts. Sorta missed the claimed point, huh.
I purged all snapd stuff from my systems the first time it showed up and
VLC didn't work. Looked at flatpaks, installed one but it didn't work
and a 33MB application required over 900MB of download. When it didn't
work, I was, er, unhappy.
Updated:
alias dft="df -hT|egrep '^/dev|[:/]/'|grep -Fv /loop"
This gets mounted NFS and CIFS storage.
On 5/28/19 10:07 AM, DJ-Pfulio via Ale wrote:
> Ubuntu has pushed their snaps on all us users.
> Snaps run programs in a container-like environment, using storage
> overlays as part of their security.
>
> Anyways, they've put all sorts of normal, no-networked, programs into
> snaps for some reason. I suppose they like wasting RAM and making df
> output 50x longer for no useful reason that I can see.
>
> I can't be the only person tired of seeing loop devices in our 'df'
> output. To strip that down a little, so just the useful things are shown,
>
> alias dft="df -Th|grep '^/dev'"
>
> is what I've been playing with. Perhaps there's a better answer?
More information about the Ale
mailing list