Questions tagged [tmpfs]
The tmpfs tag has no summary.
201 questions
-1 votes
1 answer
100 views
Why does the position of `exec` flag in `/etc/fstab` matter? [duplicate]
I find it peculiar, that I could not execute binaries / scripts on my new RAMdisk (tmpfs). 1) tmpfs /ramdisk tmpfs exec,size=3G,noauto,sync,user,rw,x-gvfs-show,x-gvfs-name=RAM 0 0 versus 2) ...
0 votes
0 answers
138 views
Declaring a bind mount in systemd-controlled initrd and persisting systemd attributes for the mount into the system
I know my title is a little bit convoluted so let me explain what I'm doing here in more detail. I am using a ephemeral root setup on my machine, essentially meaning that my / mount is a tmpfs and ...
0 votes
0 answers
27 views
modifying systemd tmp.mount parameters [duplicate]
In RHEL 7 and later as well as other Linux distributions, systemctl enable tmp.mount makes the /tmp folder a tmpfs (a temporary file system). In RHEL 8.10 for example, by default those parameters are ...
1 vote
1 answer
2k views
What is the purpose of tmpfs mounts under /run/credentials?
I haven't seen these tmpfs /run/credentials ... listed mounts in my df output before. What's it about :> df -h Filesystem Size Used Avail Use% Mounted on tmpfs 1.0M 0 1....
0 votes
1 answer
77 views
User accessible directory that is guaranteed to be tmpfs?
As in the title, I'm looking for a user accessible directory that is guaranteed to be tmpfs. /tmp is not even guaranteed to be wiped between reboots, so it's out. /run is guaranteed to be tmpfs, and ...
0 votes
1 answer
113 views
Do applications have priority over tmpfs for RAM usage (in the presence of swap)?
TLDR; If /tmp in mounted as tmpfs, in the presence of swap, is there any kind of priority when swapping ? Does tmpfs start to swap before applications ? FULL STORY I have a laptop with 32G of RAM (...
0 votes
0 answers
312 views
/var/run persistence in Docker
I have just been bitten by a PID file problem in a (Debian) Docker container that is configured as --restart always Trying to summarize the problem: I start the apache2 service in my container. The ...
1 vote
1 answer
614 views
will DNF [YUM] fail if /var/tmp is a tmpfs file system?
I was considering making /var/tmp a tmpfs mount, similar to systemctl enable tmp.mount in order to meet a security rule requesting /var/tmp be on a separate partition. I did not make that physical ...