I have installed and updated Debian testing yesterday, and now I see several files on tmpfs:
df -h Sist. Arq. Tam. Usado Disp. Uso% Montado em udev 16G 0 16G 0% /dev tmpfs 128M 4,4M 124M 4% /run /dev/sdc2 456G 149G 285G 35% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5,0M 8,0K 5,0M 1% /run/lock efivarfs 192K 34K 154K 19% /sys/firmware/efi/efivars tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-journald.service tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-udev-load-credentials.service tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-tmpfiles-setup-dev-early.service tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-sysctl.service tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-tmpfiles-setup-dev.service /dev/nvme0n1 233G 20G 214G 9% /mnt/some /dev/sdd2 92G 1,8G 91G 2% /mnt/some2 /dev/sde 3,7T 1,3T 2,4T 35% /mnt/some3 /dev/sda 2,8T 703G 2,1T 26% /mnt/some4 /dev/sdb 17T 1,4T 16T 9% /mnt/some5 /dev/sdc1 511M 4,4M 507M 1% /boot/efi tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-tmpfiles-setup.service tmpfs 1,0M 0 1,0M 0% /run/credentials/[email protected] tmpfs 3,2G 28K 3,2G 1% /run/user/0` I already mount /run on a tmpfs using fstab:
# <file system> <mount point> <type> <options> <dump> <pass> tmpfs /run tmpfs defaults,size=128M 0 0 My question is: WHY systemd insists on creating another tmpfs and consuming RAM? I already mount a /run on a tmpfs! Why need to mount these /run/credentials mountpoints? On this specific device, I have 32 GB of RAM, but I have some other old devices that have 512 MB of memory. And, if possible, a way to disable these auto tmpfs filesystem creations on systemd (/run/credentials/*, especially except /run/user/someone systemd-pam that I already disabled and system have some fails because of that).
dfoutput shows that they're all empty.