mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Chen Pei Chao" <jackie73@ms2.hinet.net>
To: "'David Newall'" <davidn@davidnewall.com>
Cc: <linux-kernel@vger.kernel.org>, <jackie.chen@foxconn.com>
Subject: Re: Is there linux RAM filesystem with a fixed amount of memory?‏
Date: Thu, 21 Aug 2008 11:16:33 +0800	[thread overview]
Message-ID: <01c301c9033c$5e881ef0$4901a8c0@tc.nsbg.efoxconn.com> (raw)


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


             reply	other threads:[~2008-08-21  3:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21  3:16 Chen Pei Chao [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='01c301c9033c$5e881ef0$4901a8c0@tc.nsbg.efoxconn.com' \
    --to=jackie73@ms2.hinet.net \
    --cc=davidn@davidnewall.com \
    --cc=jackie.chen@foxconn.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®