LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   mount tmpfs help (http://www.linuxquestions.org/questions/linux-networking-3/mount-tmpfs-help-419652/)

GLF2000 02-26-2006 02:05 AM

mount tmpfs help
 
Hello,

I use RedHat 8.0(kernel 2.4.18-14).

I want the mounting tmpfs to accelerate networking speed.

mount tmpfs /var/www/html/core/ tmpfs -o size=40m

I edit the index.html in the directory, /var/www/html/core/, so the path of the index.html is /var/www/html/core/index.html.

I type URL, <IP address>/core/index.html, with Internet brower.

But the sizes of the index.html are greater than or equal to 300 bytes, I do not browse the context of the index.html with Internet brower.

Hence, the sizes of the index.html are smaller than 250 bytes, I have to browse the context of the index.html with Internet browser.

Please tell me how to solve the problem that I must browse the index.html, when the sizes of the index.html are greater than 300 bytes.

peter_robb 03-03-2006 07:09 AM

Use /dev/shm
RH8 has this mounted at boot time.

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

The thread continues here.. http://www.linuxquestions.org/questi...d.php?t=420902


All times are GMT -5. The time now is 03:26 AM.