Talk:Tmpfs

Mounting /run
I always mounted /run manually as tmpfs. But since I updated my kernel from 5.4.48 to 5.4.72 and a @world update, I had multiple issues. LVM was causing warnings at boot, network adapter was not working and as soon as I started Xorg both mouse and keyboard stopped to work. Basically it was breaking udev. After finding this thread I found out it had something to do with my /etc/fstab. But regardless of mode and permission I was not able to fix it unless I commented /run completely out. Without mounting /run manually in /etc/fstab all the issues were fixed instantly. So maybe its better to delete "/run" from Sub-Chapter "Other directories to consider" on this wiki-page to prevent others from running into the same problems. Probably its not possible to mount /run manually in /etc/fstab anymore without breaking udev.

a possible answer to the tmpfs size and /etc/fstab problem
after searching here in the archive I came across the following: https://archives.gentoo.org/gentoo-user/message/bae1f454d769d88c7428e746381a9186 so the problem is not new. If you read through the section you will find a possible solution via remount. For example: mount -o remount,size=128m /run

I have created a script for this under /etc/local.d/ and automatically set the tmpfs size during the start. And yes, I use OpenRC. This eliminates the need to use /etc/fstab for /run setup.