[SGVLUG] Creating Large Ram disks

Steve Bibayoff bibayoff at gmail.com
Sat Jun 17 15:58:57 PDT 2006


Hello,

On 6/17/06, Michael Proctor-Smith <mproctor13 at gmail.com> wrote:
> On 6/17/06, Steve Bibayoff <bibayoff at gmail.com> wrote:

> Thanks Steve do you know if tmpfs gets writen to disk?

Yes and no. It gets written to vm, which is made up of ram and swap.
Better/detailed explanation is here:
http://www-128.ibm.com/developerworks/library/l-fs3.html

> ... The Docs I
> found said it goes in swap. I ask because I am debugging a program by
> writing and erasing alot(read hundreds of thousands) of small
> files(less then 15MB). And my laptops harddrive then died, so I want
> to avoid any posiablity That Further testing will kill my new drive.

I don't know if there is a way to force it into ram only. You may want
to use the other way(creating an actual ram disk).


Steve


More information about the SGVLUG mailing list