Skip to main content

Questions tagged [tmpfs]

-1 votes
1 answer
84 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) ...
Vlastimil Burián's user avatar
-1 votes
1 answer
131 views

Resizing filesystem to increase space in AWS EC2 instance

I created an AWS EC2 instance, and I am using the EC2 instance to maintain a database. I'm currently trying to perform some post-processing on my database (by quering my database in batches), but this ...
Joey's user avatar
  • 107
0 votes
0 answers
125 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 ...
Frontear's user avatar
2 votes
1 answer
228 views

Weird result mounting a tmpfs as root in the directory tree

Using unshare -Umr I created a new user, mount namespaces where the calling process is moved into. Then via mount -t tmpfs tmpfs / I mounted a new tmpfs instance on the root / of the directory tree ...
CarloC's user avatar
  • 385
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 ...
ron's user avatar
  • 9,092
1 vote
1 answer
419 views

What creates tmpfs directories /run, /dev/shm on systemd?

My systemd linux systems show several tmpfs directories (/run, /dev/shm, /run/lock and on my raspberry also /sys/fs/cgroup). Alas, I cannot find where these top directories are created. I know that ...
user333869's user avatar
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....
Stephen Boston's user avatar
9 votes
0 answers
1k views

Why does systemd create so many tmpfs files? And how to disable them?

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 ...
Challado's user avatar
  • 109
0 votes
1 answer
75 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 ...
jaskij's user avatar
  • 190
1 vote
1 answer
3k views

Using systemd-tmpfile to clear /tmp

I have a server (Ubuntu 22.04) which has a tmpfs partition mounted at /tmp. The server only reboots for security updates, so I can't rely on reboots to clear out /tmp. systemd-tmpfile is using default ...
QF0's user avatar
  • 391
0 votes
1 answer
105 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 (...
ChennyStar's user avatar
  • 1,979
-1 votes
1 answer
807 views

Here is how to add support for Brave browser in profile-sync-daemon

Profile-sync-daemon can be installed in Debian based systems with sudo apt install profile-sync-daemon and in Arch based systems with sudo pacman -S profile-sync-daemon, but it lacks native support ...
H2onvety's user avatar
  • 143
0 votes
0 answers
305 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 ...
rems4e's user avatar
  • 115
2 votes
1 answer
836 views

Any way to enable user_xattr on tmpfs?

I am trying to cache CIFS share files on a ramdisk with cachefilesd, however cachefilesd requires the cache directory filesystem to support user_xattr. tmpfs does not by default. Is there any way to ...
kataba's user avatar
  • 21
1 vote
1 answer
598 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 ...
ron's user avatar
  • 9,092

15 30 50 per page
1
2 3 4 5
14