Re: RAM disk
"Scott Lawrence" <[email protected]> Tue, 19 Feb 2008 16:57:58 -0500
| Newsgroups | gmane.os.netbsd.ports.hpcmips |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Feb 18, 2008 at 8:16 AM, David Brownlee <[email protected]> wrote: > The simplest option is probably to mount a tmpfs filesystem and > copy the files you want to it, then copy things back when done. > > eg: > > # mkdir /ramdisk > # mount -t tmpfs tmpfs /ramdisk mount_tmpfs: tmpfs on /ramdisk: Operation not supported by device > > # cp -R /somedir /ramdisk > > the tmpfs will grow and shrink as necessary, so watch out if you > put too much data on there and use up all your ram... > Understood this seems like the solution for me. I'll try out the other things you suggested asap. -s -- Scott Lawrence [email protected] http://www.umlautllama.com