Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2008
/dev/shm = RamDisk, or am I getting mixed up?
I was googling around, and I found out that /dev/shm is a tmpfs folder, which is like a RAMdisk.
What I'm doing is running a server that runs off a CompactFlash card using Debian 4.0r5, and Apache + MySQL will store their data in RAM. Every so many (15-30) minutes, a script that i'm writing will sync the data in the RAMdrive onto a USB Stick of mine.
Now, I'm confused. I want to make a folder to store my www data in the RAM, so www requests are served really fast. I'm not sure how to do it via mount.
Do I use mount, or make a www folder in /dev/shm?