Questions tagged [tmpfs]
tmpfs is a common name for a temporary file storage facility on many Unix-like operating systems. It is intended to appear as a mounted file system, but stored in volatile memory instead of a persistent storage device.
50
questions
1
vote
1
answer
604
views
Linux volatile user home areas
This is actually a 2 part question, one for design decisions, and the other a technical question:
In our current network, we have Linux clients that authenticate against a server, and mount the user'...
4
votes
1
answer
879
views
Where is terminal scroll back information stored (how does tmpfs work)?
While trying to test something unconnected, I launched an infinite loop on my terminator terminal emulator which printed a lot of data to STDOUT. After running it for a few minutes, I noticed that my /...
8
votes
1
answer
28k
views
How to find size of RAM cache use for ramfs, tmpfs
I'm wondering if there is any way to specify the size of RAM cache used to store ramfs, tmpfs?
When I look at /proc/, I can't find anything about ramfs size.
1
vote
0
answers
1k
views
In linux is it possible to extend a ramdisk with a physcial drive in a logical volume?
I do not like how tmpfs behaves with swap and will allow memory to be exhausted before using the swap on physical disk (yes swappiness can be adjusted but it's still affecting the rest of the OS by ...
0
votes
1
answer
3k
views
how to tell chrome not use /run/shm or how to make /run/shm not mounted as tmpfs?
I have the problem with tmpfs and google chrome. When chrome runs, it uses /run/shm to keep some files like /run/shm/.com.google.Chrome.RnIWmb, the files are (deleted) but still open, that cause ...
24
votes
8
answers
82k
views
How to cleanup tmp folder safely on Linux
I use RAM for my tmpfs /tmp, 2GB, to be exact. Normally, this is enough but sometimes, processes create files in there and fail to cleanup after themselves. This can happen if they crash. I need to ...
3
votes
1
answer
1k
views
Mount TMPFS instead of ro /dev
I am working on a ARM-Based embedded system with a custom Debian Linux based on kernel 2.6.31. In the final system, the Root file system is stored as squashfs on flash. Now, the folder /dev is created ...
5
votes
1
answer
9k
views
controling tmpfs memory usage
Any way to limit the amount of RAM used by tmpfs wihtout limiting the amount of swap?
Most documentations says that tmpfs' size option will limit the total size of the tmpfs partition and later on ...
2
votes
1
answer
1k
views
tmpfs and debian - trash folder
I have created a tmpfs that remounts on boot and works as I had hoped for. My ram folder is here...
/home/user/ramdrive/
While testing I noticed that when I delete files via the Debian GUI the files ...
25
votes
3
answers
39k
views
Why should I make a separate partition for /tmp?
Why should I make separate partitions for /tmp, /var and so on?
I can see more drawbacks than benefits. One benefit is that I can use ext4 with journaling for /home and ext4 without journaling for ...
2
votes
2
answers
529
views
How to make a good guess for the swap partition size when using tmpfs?
I have an SSD, so space is a scarce resource. I'd like to use up as little as possible for swap. In fact, I have spent the last year completely without a swap partition (the computer has 6 GB RAM).
...
2
votes
1
answer
2k
views
Does memory allocated to tmpfs free itself when needed by an application?
I have 8GB of RAM and 4GB is dedicated to the tmpfs on /dev/shm.
There's nothing actually in /dev/shm, so I'm wondering, is this memory still available for applications to use?
If I needed to use ...
2
votes
1
answer
5k
views
Have I successfully created an ramfs drive?
I thought I had created a ramfs drive, but when I type df -H all I get is following.
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 69G 8.5G 57G 14% /
/dev/...
3
votes
0
answers
8k
views
How do I unmount a tmpfs that is missing from /etc/mtab?
I have the following line in /etc/fstab:
none /home/hydra/tmp tmpfs user,noauto,size=1000M,uid=1001,gid=1001 0 0
I can do mount ~/tmp as user hydra and it gets mounted ok. The only problem is ...
4
votes
3
answers
2k
views
How can I allow normal users to mount tmpfs under subdirectories of their home directory?
How can I allow normal users to mount a tmpfs under any subdirectory owned by them?