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.

learn more… | top users | synonyms

0
votes
0answers
108 views

After mounting tmpfs to /home/my file manager pcmanfm eat 100%CPU

I add to /etc/fstab tmpfs /home/user/.cache tmpfs noatime,nodiratime,nodev,nosuid,uid=1000,gid=100,mode=0700,size=600M 0 0 After mount , my file manager pcmanfs eat 100%CPU all time. How to solve ...
0
votes
1answer
118 views

Securely wiping a file on a tmpfs

I have a script that decrypts some data to a tmpfs, the directory is secure (permissions), the machine's swap is encrypted (random key on boot) and when the script is done it does a 35 pass wipe ...
0
votes
1answer
443 views

How can I get “Ramdisk” or “tmpfs” on android? [closed]

I recently switched to an android phone, which is the first smart phone I have. There is an IM app I must use for daily life, but it got too much i/o which laaaaaaaaaags my entire phone. Basically it ...
0
votes
1answer
657 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
180 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
171 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 ...
3
votes
1answer
3k 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
202 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
672 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 ...
5
votes
5answers
6k 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
513 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 ...
2
votes
1answer
2k 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
327 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 ...
7
votes
2answers
5k 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 Linux I don't understand. For instance: Why should I make separate partitions for /tmp, /var and so on? I ...
2
votes
2answers
395 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). ...
1
vote
1answer
633 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
2k 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
3k 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
3answers
860 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
808 views

How can I create consistent snapshots of tmpfs?

How can I create consistent snapshots of tmpfs or any RAM disks?
17
votes
2answers
7k 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
5k 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
10k 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
221 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. ...