Package: duf
Version: 0.8.1-2+b8
Severity: normal
X-Debbugs-Cc: witold.bary...@gmail.com


There must be some heuristic or some filtering going on, as it must
misses some mount points


user@debian:~$ df -h
Filesystem             Size  Used Avail Use% Mounted on
udev                   126G     0  126G   0% /dev
tmpfs                   26G  3.5M   26G   1% /run
efivarfs               128K   19K  105K  15% /sys/firmware/efi/efivars
/dev/sda1               31G   31G     0 100% /run/live/medium
/dev/loop0              30G   30G     0 100% 
/run/live/rootfs/filesystem.squashfs
tmpfs                  227G  162G   65G  72% /run/live/overlay
overlay                227G  162G   65G  72% /
tmpfs                  126G  453M  126G   1% /dev/shm
tmpfs                  5.0M  8.0K  5.0M   1% /run/lock
tmpfs                  1.0M     0  1.0M   0% 
/run/credentials/systemd-journald.service
tmpfs                  126G  229M  126G   1% /tmp
tmpfs                   26G   11M   26G   1% /run/user/1000


user@debian:~$ duf
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ 2 local devices                                                               
                               │
├──────────────────────────────┬───────┬───────┬───────┬───────────────────────────────┬──────────┬────────────┤
│ MOUNTED ON                   │  SIZE │  USED │ AVAIL │              USE%      
       │ TYPE     │ FILESYSTEM │
├──────────────────────────────┼───────┼───────┼───────┼───────────────────────────────┼──────────┼────────────┤
│ /run/live/medium             │ 30.2G │ 30.2G │    0B │ [####################] 
100.0% │ iso9660  │ /dev/sda1  │
│ /run/live/rootfs/filesystem. │ 29.8G │ 29.8G │    0B │ [####################] 
100.0% │ squashfs │ /dev/loop0 │
│ squashfs                     │       │       │       │                        
       │          │            │
╰──────────────────────────────┴───────┴───────┴───────┴───────────────────────────────┴──────────┴────────────╯
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ 9 special devices                                                             
                                  │
├──────────────────────────────┬────────┬────────┬────────┬───────────────────────────────┬──────────┬────────────┤
│ MOUNTED ON                   │   SIZE │   USED │  AVAIL │              USE%   
          │ TYPE     │ FILESYSTEM │
├──────────────────────────────┼────────┼────────┼────────┼───────────────────────────────┼──────────┼────────────┤
│ /dev                         │ 125.7G │     0B │ 125.7G │                     
          │ devtmpfs │ udev       │
│ /dev/shm                     │ 125.8G │ 452.1M │ 125.4G │ 
[....................]   0.4% │ tmpfs    │ tmpfs      │
│ /run                         │  25.2G │   3.4M │  25.2G │ 
[....................]   0.0% │ tmpfs    │ tmpfs      │
│ /run/credentials/systemd-jou │   1.0M │     0B │   1.0M │                     
          │ tmpfs    │ tmpfs      │
│ rnald.service                │        │        │        │                     
          │          │            │
│ /run/live/overlay            │ 226.4G │ 162.0G │  64.5G │ 
[##############......]  71.5% │ tmpfs    │ tmpfs      │
│ /run/lock                    │   5.0M │   8.0K │   5.0M │ 
[....................]   0.2% │ tmpfs    │ tmpfs      │
│ /run/user/1000               │  25.2G │  10.0M │  25.1G │ 
[....................]   0.0% │ tmpfs    │ tmpfs      │
│ /sys/firmware/efi/efivars    │ 128.0K │  18.3K │ 104.7K │ 
[##..................]  14.3% │ efivarfs │ efivarfs   │
│ /tmp                         │ 125.8G │ 228.6M │ 125.6G │ 
[....................]   0.2% │ tmpfs    │ tmpfs      │
╰──────────────────────────────┴────────┴────────┴────────┴───────────────────────────────┴──────────┴────────────╯


But / is missing in duf.

Maybe it is ignoring overlayfs, because if I call with -all

user@debian:~$ duf -all
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ 4 local devices                                                               
                                   │
├──────────────────────────────┬────────┬────────┬───────┬───────────────────────────────┬────────────┬────────────┤
│ MOUNTED ON                   │   SIZE │   USED │ AVAIL │              USE%    
         │ TYPE       │ FILESYSTEM │
├──────────────────────────────┼────────┼────────┼───────┼───────────────────────────────┼────────────┼────────────┤
│ /                            │ 226.4G │ 162.0G │ 64.5G │ 
[##############......]  71.5% │ overlay    │ overlay    │
│ /run/live/medium             │  30.2G │  30.2G │    0B │ 
[####################] 100.0% │ iso9660    │ /dev/sda1  │
│ /run/live/rootfs/filesystem. │  29.8G │  29.8G │    0B │ 
[####################] 100.0% │ squashfs   │ /dev/loop0 │
│ squashfs                     │        │        │       │                      
         │            │            │
│ /run/rpc_pipefs              │     0B │     0B │    0B │                      
         │ rpc_pipefs │ sunrpc     │
╰──────────────────────────────┴────────┴────────┴───────┴───────────────────────────────┴────────────┴────────────╯
...

It does show up.

-- System Information:
Debian Release: 13.0
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.27-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_SOFTLOCKUP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

Reply via email to