Questions tagged [tmpfs]
The tmpfs tag has no usage guidance.
11
questions
21
votes
2
answers
8k
views
How to allow snap applications to access /tmp folder?
Usually I'm avoiding snap-based applications, but sometime I need them.
For example - Markdown Lint Tool is shipped only as Snap named mdl.
It works great when files are in home folder -
$ echo "...
117
votes
2
answers
203k
views
How can I use RAM storage for the /tmp directory and how to set a maximum amount of RAM usage for it?
After seeing the comment by Anonymous on the question How is the /tmp directory cleaned up?, I found that it would be a great idea to implement on my system, since I have 16GB of RAM and I never used ...
16
votes
2
answers
12k
views
How to create RAM drive?
How do i create RAM drive under ubuntu. And would he automounted at startup?
10
votes
1
answer
19k
views
/tmp in tmpfs, how do this only with systemd?
I have now a laptop with Ubuntu 18.04 and i love it. i have mounted /tmp as tmpfs via /etc/fstab line as this:
tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777 ...
20
votes
3
answers
21k
views
Why doesn't /tmp use tmpfs?
I have loads of RAM and I use very little. I also do record some screencasts with gtk-recordmydesktop, which by default saves to /tmp while recording. I assumed that it would mean storing to RAM as ...
12
votes
2
answers
16k
views
Mounting /tmp as tmpfs on Ubuntu 20.04
I'd like to mount /tmp without fstab entry using tmp.mount
However on Ubuntu 20.04 LTS, it doesn't seem to work.
user@user-x1:~$ systemctl status tmp.mount
Unit tmp.mount could not be found.
user@...
8
votes
2
answers
2k
views
How can I make an existing persistant live USB installation load more of the OS to RAM?
A while back I installed (a permanent installation, not a Live USB) Ubuntu on my USB thumb drive. Unfortunately, the transfer rates are too slow for a smooth and responsive experience, so I'd like to ...
8
votes
1
answer
12k
views
How do I increase size of per-user tmpfs partition /run/user/$(id)?
Fresh installation of Ubuntu 16.04.
File /etc/fstab contains no references to /run/user/...
mount prints
...
tmpfs on /run/user/115 type tmpfs (rw,nosuid,nodev,relatime,size=1612068k,mode=700,uid=...
5
votes
2
answers
2k
views
Mount /usr in RAM (loading from HDD when starting, and saving to when shutting down)
I have the current scenario:
16GB or RAM. For the most part, around 10~12GB unused
Almost never install/remove software, this is a mature system
Only reboot like once a week, so (re-)boot time is ...
1
vote
1
answer
977
views
Accessing other drives on an AWS EC2 instance?
I ran an application on an Ubuntu instance of Amazon EC2, and it ran out of memory.
Here is what df shows:
ubuntu@ip-172-31-9-56:~/layers/punctuation$ df
Filesystem 1K-blocks Used Available ...
0
votes
2
answers
1k
views
How to fix anacron & cups-pdf when you have /var on tempfs
I have a ssd drive in my laptop and I followed various advice that said to put /var/log /var/spool & /var/cache on a tmpfs so that the constant read/writes wouldn't lessen the life of my ssd.
...