lkml.org 
[lkml]   [2008]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Is there linux RAM filesystem with a fixed amount of memory?‏
Date

>> Is there any RAM file system that use a fixed amount of memory at all
times
>> and will not grow and shrink dynamically like tmpfs?

>ramfs

I mounted a ramfs filesystem with 10M size, and have a check of
/proc/meminfo.
I find the ramfs also did not have the memory preallocation.

I just add one line into /etc/fstab
none /tmp ramfs size=10m 0 0

Any wrong in my steps?

Regards,
Jackie



\
 
 \ /
  Last update: 2008-08-21 05:31    [W:0.040 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site