LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   /var/run/user (https://www.linuxquestions.org/questions/slackware-14/var-run-user-4175672464/)

Toutatis 04-03-2020 12:50 AM

/var/run/user
 
Hello,

I am using slackware64-current. This directory appeared recently.
It seems to store temporary files used by user 1000, that were previoulsly stored in /tmp. I have put /tmp in tmpfs (to spare my SSD, and because I have enough RAM). Is there a way to put also /var/run/user in tmpfs ?

!!! 04-03-2020 01:00 AM

I don't think it's 'real'!!! (I think it's your RAM!!!, but others will explain better)

Do you get this: (?)
Code:

$ ls -ld /var/run
lrwxrwxrwx 1 root root 4 Feb  9 09:46 /var/run -> /run

https://lwn.net/Articles/436012/

DDGooG1 has LOTS to say....

ponce 04-03-2020 01:48 AM

Quote:

Originally Posted by Toutatis (Post 6107288)
Hello,

I am using slackware64-current. This directory appeared recently.
It seems to store temporary files used by user 1000, that were previoulsly stored in /tmp. I have put /tmp in tmpfs (to spare my SSD, and because I have enough RAM). Is there a way to put also /var/run/user in tmpfs ?

it's mounted as tmpfs already
Code:

$ grep tmpfs /proc/mounts | grep user
none /var/run/user/1000 tmpfs rw,relatime,size=102400k,mode=700,uid=1000 0 0


Toutatis 04-03-2020 02:39 AM

Ok, I have nothing to do. Thank you for your answers.


All times are GMT -5. The time now is 04:58 PM.