public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Is there linux RAM filesystem with a fixed amount of memory?‏
@ 2008-08-21  3:16 Chen Pei Chao
  2008-08-21  4:05 ` David Newall
  0 siblings, 1 reply; 6+ messages in thread
From: Chen Pei Chao @ 2008-08-21  3:16 UTC (permalink / raw)
  To: 'David Newall'; +Cc: linux-kernel, jackie.chen


>> 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	  	


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Is there linux RAM filesystem with a fixed amount of memory?‏
@ 2008-08-19 13:58 Chen Pei Chao
  2008-08-19 14:39 ` David Newall
  2008-08-19 16:31 ` Sven-Haegar Koch
  0 siblings, 2 replies; 6+ messages in thread
From: Chen Pei Chao @ 2008-08-19 13:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: jackie.chen

Hi All,
 
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?
Thanks in advance.
 
Regards,
Jackie



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-21 11:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-21  3:16 Is there linux RAM filesystem with a fixed amount of memory?‏ Chen Pei Chao
2008-08-21  4:05 ` David Newall
2008-08-21 11:51   ` Chen Pei Chao
  -- strict thread matches above, loose matches on Subject: below --
2008-08-19 13:58 Chen Pei Chao
2008-08-19 14:39 ` David Newall
2008-08-19 16:31 ` Sven-Haegar Koch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox