df -h without loop listing??
Robert Heller
heller at deepsoft.com
Wed Jun 19 23:55:13 UTC 2019
At Thu, 20 Jun 2019 00:34:47 +0100 "Ubuntu user technical support, not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:
>
> On Wed, Jun 19, 2019 at 04:19:22PM -0700, Dave Stevens wrote:
> > I don't see an option for df to omit these /dev/loopXX lines,
> > currently 28 of them. Does anyone know how to do this?
>
> They're all of the "squashfs" type (as "df -T" will show), so "df -x
> squashfs" will do it.
In the more general case (/dev/loop mounts in general, eg ISO images or other
sorts of images), piping throgh 'grep -v ...' will also work:
df -h | grep -v /dev/loop
Plumbing is a wonderful and powerful thing...
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
heller at deepsoft.com -- Webhosting Services
More information about the ubuntu-users
mailing list