ramdisk??

Terry Lambert tlambert2 at mindspring.com
Tue Jun 10 04:27:14 PDT 2003


Ted Faber wrote:
> On Mon, Jun 09, 2003 at 01:16:26PM -0400, romero3000 at romero3000.com wrote:
> > (sorry about cross-posting this question. not sure which list is better)
> >
> > I want to to know how to create a ram file system for /var and /tmp so
> > that i can boot from flash memory and mount those two file systems on
> > ramfs. I've looked for howto's online but haven't found anything. any
> > suggestions????
> 
> On CURRENT:
> 
> man vnconfig
> man vn
> 
> I mount a swap backed fs (which I what I suspect you want) with:

I don't think he wants swap backing; I'm going to be that
his system will have no swap, in order to avoid write
cycles using up his flash... he probably just wants a small
amount of volatile storage for /var/run, /var/log, and /tmp,
with everything else mounted read-only to avoid the access
timestamp updates.

-- Terry


More information about the freebsd-hackers mailing list