[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RANT: Virtual filesystems are getting out of control



On Tue 17 May 2016 at 17:18:03 (-0700), J Mo wrote:
> The output from these commands are on a freshly installed system.
> 
> -->df
> Filesystem           1K-blocks       Used  Available Use% Mounted on
> udev                  16441312          0   16441312   0% /dev
> tmpfs                  3290364       9668    3280696   1% /run
> /dev/sda2            114287812   44945248   63514008  42% /
> tmpfs                 16451804        208   16451596   1% /dev/shm
> tmpfs                     5120          4       5116   1% /run/lock
> tmpfs                 16451804          0   16451804   0% /sys/fs/cgroup
> tmpfs                  3290364          0    3290364   0% /run/user/116
> tmpfs                  3290364         12    3290352   1% /run/user/1000
> 
> One out of eight lines are actually disk filesystems. That is 88%
> garbage I didn't want to see.

$ df -t ext3 -t ext4

> -->mount
> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> udev on /dev type devtmpfs
> (rw,nosuid,relatime,size=16441312k,nr_inodes=4110328,mode=755)
> devpts on /dev/pts type devpts
> (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
> tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=3290364k,mode=755)
> /dev/sda2 on / type ext4
> (rw,noatime,quota,usrquota,grpquota,errors=remount-ro,data=ordered)
> securityfs on /sys/kernel/security type securityfs
> (rw,nosuid,nodev,noexec,relatime)
> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
> tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
> tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
> cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
> pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
> cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
> (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
> cgroup on /sys/fs/cgroup/perf_event type cgroup
> (rw,nosuid,nodev,noexec,relatime,perf_event)
> cgroup on /sys/fs/cgroup/devices type cgroup
> (rw,nosuid,nodev,noexec,relatime,devices)
> cgroup on /sys/fs/cgroup/cpuset type cgroup
> (rw,nosuid,nodev,noexec,relatime,cpuset)
> cgroup on /sys/fs/cgroup/pids type cgroup
> (rw,nosuid,nodev,noexec,relatime,pids)
> cgroup on /sys/fs/cgroup/blkio type cgroup
> (rw,nosuid,nodev,noexec,relatime,blkio)
> cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup
> (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
> cgroup on /sys/fs/cgroup/freezer type cgroup
> (rw,nosuid,nodev,noexec,relatime,freezer)
> systemd-1 on /proc/sys/fs/binfmt_misc type autofs
> (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
> hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
> mqueue on /dev/mqueue type mqueue (rw,relatime)
> debugfs on /sys/kernel/debug type debugfs (rw,relatime)
> binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
> tmpfs on /run/user/116 type tmpfs
> (rw,nosuid,nodev,relatime,size=3290364k,mode=700,uid=116,gid=120)
> tmpfs on /run/user/1000 type tmpfs
> (rw,nosuid,nodev,relatime,size=3290364k,mode=700,uid=1000,gid=1000)
> 
> 1 line out out 27. That's 96% garbage I didn't want to see.

$ mount -t ext3 ; mount -t ext4

$ man bash   for info on aliases and shell functions.

Cheers,
David.


Reply to: