Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #270237

Re: testing, various tmpfs /run directories, df -x tmpfs

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: testing, various tmpfs /run directories, df -x tmpfs
Date 2024-06-19 06:10 +0200
Message-ID <IQUNX-3WZK-3@gated-at.bofh.it> (permalink)
References <IQQU1-3UmJ-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 18 Jun 2024 at 19:29:31 (-0400), songbird wrote:

> "df -x tmpfs" does the magic and gives me the better view that is
> more useful.

FWIW I define dfree as:

  df --output=source,ipcent,fstype,size,used,avail,pcent,target -B 1000000 -x tmpfs -x devtmpfs -x fuse.portal | sed -E 's/([^ ] )/\1 /g'

which produces a listing like:

  $ dfree
  Filesystem      IUse%  Type  1MB-blocks    Used   Avail  Use%  Mounted  on
  /dev/nvme0n1p2    23%  ext4       30783   17131   12063   59%  /
  /dev/nvme0n1p3     3%  ext4       30783    1922   27272    7%  /apex-partial
  /dev/nvme0n1p1      -  vfat         523      21     502    5%  /boot/efi
  /dev/dm-0          2%  ext4      390073  186974  183209   51%  /home
  $ 

For filesystems, I find a uniform MB works better than "human-readable" sizes.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

testing, various tmpfs /run directories, df -x tmpfs songbird <songbird@anthive.com> - 2024-06-19 02:00 +0200
  Re: testing, various tmpfs /run directories, df -x tmpfs David Wright <deblis@lionunicorn.co.uk> - 2024-06-19 06:10 +0200
    Re: testing, various tmpfs /run directories, df -x tmpfs songbird <songbird@anthive.com> - 2024-06-20 15:50 +0200

csiph-web