Subject: bug#73134: coreutils: df: no file systems processed

From: Felix Miata <[email-masked]>
Date: Sun, 8 Sep 2024 17:45:04 -0400

Systems experienced on:
openSUSE Tumbleweed 20240906 (coreutils-9.5-3.1; kernel 6.9.9, 6.6.49, 6.10.7)
Fedora 40 (kernel 6.9.12)
Debian Trixie/testing (kernel 6.9.12)
# inxi -CSM
System:
  Host: ab85m Kernel: 6.9.9-1-default arch: x86_64 bits: 64
  Console: pty pts/0 Distro: openSUSE Tumbleweed 20240906
Machine:
  Type: Desktop System: ASUS product: All Series v: N/A serial: N/A
  Mobo: ASUSTeK model: B85M-E v: Rev X.0x serial: <filter>
    UEFI: American Megatrends v: 3602 date: 04/04/2018
CPU:
  Info: dual core model: Intel Pentium G3220 bits: 64 type: MCP cache:
    L2: 512 KiB
# inxi -CMS
System:
  Host: ab560 Kernel: 6.9.12-200.fc40.x86_64 arch: x86_64 bits: 64
  Console: pty pts/0 Distro: Fedora Linux 40 (Forty)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
  Mobo: ASUSTeK model: PRIME B560M-A v: Rev 1.xx serial:
   <filter> UEFI: American Megatrends v: 1601 date: 05/07/2022
CPU:
  Info: 6-core model: 11th Gen Intel Core i5-11400 bits: 64 type: MT MCP
    cache: L2: 3 MiB
# inxi -CMS
System:
  Host: ab250 Kernel: 6.9.12-amd64 arch: x86_64 bits: 64
  Console: pty pts/0 Distro: Debian GNU/Linux trixie/sid
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B250M-C v: Rev X.0x
    serial: <filter> UEFI: American Megatrends v: 1608 date: 10/21/2019
CPU:
  Info: quad core model: Intel Core i5-7500T bits: 64 type: MCP cache:
    L2: 1024 KiB

Expected behavior (as user, OK):
tst2000@ab85m:~> ls -1 /sys/firmware/efi/efivars | wc
    103     103    5245
tst2000@ab85m:~> df /sys/firmware/efi/efivars/
Filesystem     1K-blocks  Used Available Use% Mounted on
efivarfs             128   103        21  84% /sys/firmware/efi/efivars
tst2000@ab85m:~>

Actual behavior (as root, not OK):
ab85m:~# ls -1 /sys/firmware/efi/efivars | wc
    103     103    5245
ab85m:~ # df /sys/firmware/efi/efivars/
df: no file systems processed
ab85m:~ #

Anything any ordinary user can do the superuser ought be able to do, especially
when involving OS, right???
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata