Example of Linux RAMFS

Hello, today i want to describe little bit about RAMFS in Linux distros.

There are some cases when RAM file system helps with performance and some in flexibility. Mostly were used in different live system (lice cd or etc.). But today there are a lot of ¬†new cases with dynamical storing of ¬†small files. For example in case of storing proxy cache, session, temporary files and etc…

So, how we can create any RAM file system out of the Linux box.

First of all you have to predict how many free RAM do you have ? And how many you could allocate for RAM disk. In my example i’m going to store at /var/cache mount point about 128Mb of data. Here is my mount command:

Checking results:



Author: GergunD

Leave a Reply