logo       

Re: RAM disk: msg#00014

os.netbsd.ports.hpcmips

Subject: Re: RAM disk

Scott Lawrence wrote:

> On Mon, Feb 18, 2008 at 8:16 AM, David Brownlee <abs@xxxxxxxxxx> 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

I think the 4.0 kernel does not have TMPFS configured as default, so you
need to compile the kernel with option TMPFS


risto




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise