Results 1 to 1 of 1
Alright.
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 ...
- 12-06-2008 #1Just Joined!
- Join Date
- Oct 2008
- Location
- IceWM
- Posts
- 23
/dev/shm = RamDisk, or am I getting mixed up?
Alright.
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?
Thanks,
Coburn64


Reply With Quote
