lkml.org 
[lkml]   [2008]   [Aug]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From"Chen Pei Chao" <>
SubjectRe:_Is_there_linux_RAM_filesystem_with_a_fixed_amount_of _memory?‏
DateThu, 21 Aug 2008 11:16:33 +0800
>> 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    [from the cache]
©2003-2008