[vox-tech] Creating large ramdisks

Micah J. Cowan micah at cowan.name
Mon Feb 20 13:17:22 PST 2006


On Mon, Feb 20, 2006 at 01:05:16PM -0800, Ken Herron wrote:
> John Wojnaroski wrote:
> >
> > Hi,
> >
> > Is there a way to create large ramdisks (around 200meg) that act as a 
> > single partition?  I seem to recall seeing something on the topic a 
> > few weeks ago while surfing, but now can't seem to locate the site by 
> > googling when I need it?
> 
> Sure, it's a filesystem type called tmpfs. All of the memory for file 
> storage is taken from the system's virtual memory (ie swap space). For 
> example, I use this entry in /etc/fstab for my /tmp directory:
> 
>     tmpfs           /tmp            tmpfs   size=512m       0       0

Yeah, but if it uses swap, doesn't that sorta defeat the probable
purpose of a ramdisk partition?

I'm pretty sure there's something that will do this, but I don't recall
what it was...

-- 
Micah J. Cowan
micah at cowan.name


More information about the vox-tech mailing list