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.
0
votes
1answer
27 views
Deleting files within the /tmp directory on an ubuntu machine
My Symfony website has just started to show the following error:
ErrorException: Warning: session_start(): open (/tmp/sess_4h4kjh4ui4h478h48h44g02,O_RDWR) failed:No space left on device(28) in ...
1
vote
1answer
87 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 ...
3
votes
1answer
59 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 ...
2
votes
1answer
228 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.
0
votes
0answers
42 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
1answer
290 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 ...
1
vote
4answers
417 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
1answer
241 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 ...
1
vote
1answer
800 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
1answer
177 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 ...
4
votes
1answer
2k views
Why should I make a separate partition for /tmp?
A few years ago I installed Debian which is my favorite OS. There are many things in this system which I still don't understand.
For instance:
why should I make separate partitions for /tmp, ...
2
votes
2answers
300 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).
...
0
votes
1answer
289 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 ...
0
votes
1answer
673 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% /
...
1
vote
0answers
1k 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 ...
2
votes
3answers
640 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?
4
votes
5answers
553 views
How can I create consistent snapshots of tmpfs?
How can I create consistent snapshots of tmpfs or any RAM disks?
12
votes
2answers
4k views
Can I put /tmp and /var/log in a ramdisk on OS X?
For non-critical Linux systems, I often move things like /tmp and /var/log to tmpfs to save on some disk writing. I've been doing this for a year or so and if I ever need the logs across reboots, I ...
5
votes
2answers
4k views
Is using a Virtual PC on a RAM DISK super fast? (putting the .vhd file in a RAM DISK)
I wonder how or if any one tried to create a RAM DISK, and then put the 2GB (or sometimes 1.2GB) .vhd file into it, and then run the virtual PC using this image.
It should be running super fast, as ...
0
votes
2answers
8k views
How tmpfs works in Debian?
I run df -h and found on my Debian Squeeze two tmpfs directory,
tmpfs 1.5G 0 1.5G 0% /lib/init/rw
tmpfs 1.5G 0 1.5G 0% /dev/shm
Then, I added a line in ...
0
votes
1answer
167 views
/tmp broken: mount doesn't show anything
I'm on Ubuntu 9.04 and I've got the following problem:
The folder /tmp normally has a tmpfs mounted in it. On one machine, this isn't the case anymore. I don't know what happened to have it that way.
...