You are not logged in.
Pages: 1
Hi,
Yesterday I wanted to check up my partitions space and df -h spill out this strange table with an unusual amount of mounts:
Filesystem Size Used Avail Use% Mounted on
dev 7.7G 0 7.7G 0% /dev
run 7.8G 1.5M 7.8G 1% /run
efivarfs 184K 81K 98K 46% /sys/firmware/efi/efivars
/dev/nvme0n1p2 150G 62G 89G 41% /
tmpfs 7.8G 67M 7.7G 1% /dev/shm
tmpfs 7.8G 6.5M 7.8G 1% /tmp
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-sysusers.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup-dev.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-vconsole-setup.service
/dev/nvme0n1p1 327G 151G 177G 46% /ntfs3
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-sysctl.service
/dev/sda4 501G 243G 259G 49% /ntfs1
/dev/sda5 431G 331G 100G 77% /ntfs2
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service
tmpfs 1.6G 64K 1.6G 1% /run/user/1000
systemctl says this about these mounts:
run-credentials-getty\x40tty1.service.mount loaded active mounted /run/credent
run-credentials-systemd\x2djournald.service.mount loaded active mounted /run/credent
run-credentials-systemd\x2dsysctl.service.mount loaded active mounted run-credenti
run-credentials-systemd\x2dsysusers.service.mount loaded active mounted run-credenti
run-credentials-systemd\x2dtmpfiles\x2dsetup.service.mount loaded active mounted run-credenti
run-credentials-systemd\x2dtmpfiles\x2dsetup\x2ddev.service.mount loaded active mounted run-credenti
run-credentials-systemd\x2dtmpfiles\x2dsetup\x2ddev\x2dearly.service.mount loaded active mounted run-credenti
run-credentials-systemd\x2dudev\x2dload\x2dcredentials.service.mount loaded active mounted run-credenti
run-credentials-systemd\x2dvconsole\x2dsetup.service.mount
Google and the credential services aren't much help to find out what these are... I haven't installed anything recently as well... Please help it bugs me to no end.
Last edited by Gangleri (2024-07-01 09:57:02)
Offline
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.
Also file a bug at google, it's apaarently broken for you: https://systemd.io/CREDENTIALS/
systemd used to complain about that, apparently now it just makes some up.
https://bbs.archlinux.org/viewtopic.php?id=294465
Edit: F**5
Last edited by seth (2024-07-01 07:22:48)
Offline
I was googling x2djournald and the other weird ones. Alright I'll read the https://systemd.io/CREDENTIALS/ and try to figure out how to fix this.
If successful I'll post it.
Thanks!
Offline
What do you want to fix?
Offline
I was meaning to remove them from being mounted, or place them somewhere else, but I just read more carefully the https://systemd.io/CREDENTIALS/ you provided. And it explicitly says:
For system services the credential directory will be /run/credentials/<unit name>, but hardcoding this path is discouraged, because it does not work for user services.
So I guess they're supposed to be as they are, mounted there...forever disrupting the previously orderly and simple df -l output
Last edited by Gangleri (2024-07-01 15:25:14)
Offline
df with no arguments is meant to list all file systems. Not file systems some human finds important to them.
You may write a script, that will only list those, which you find relevant.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
i thought it pretty annoying too. aliases are great for simple default flags like this. if you don't care about the disk space on any tmpfs, simply add to your bashrc or profile or whatever:
alias df='df -x tmpfs'
Offline
but how to disable only systemd garbage? I'd like to see adequate mountpoints like /tmp, /dev/shm, etc.
Last edited by luntik20120 (2024-08-04 22:20:45)
Offline
Offline
Pages: 1