From: Phil Wilshire <pwilshire@cox.net>
To: linux-embedded@vger.kernel.org
Subject: initramfs size limitation
Date: Sat, 31 May 2008 08:44:14 -0400 [thread overview]
Message-ID: <4841481E.8090406@cox.net> (raw)
Hi All,
Firstly, thanks for this list I hope we can get some interesting things
happening.
I have a question regarding initramfs and tmpfs in a NOMMU environment.
I hope this is the right place and the right sort of question.
I work closely with the Blackfin systems and they have now integrated
the initramfs generation into their system build. The result is great
the root fs is ready to run from the page cache.
There is one problem that I can see that may be more serious for
embedded users.
As far as I can tell the initramfs filesystem is not restricted in size.
You can keep writing files until it uses all available memory.
It should be possible to mount (or rather remount) the initramfs read
only and use tmpfs for a restricted size read/write file system.
The trouble is that the size option for tmpfs is removed for NOMMU systems.
Has anyone else seem this problem ?
I dont think the fixes are complicated but has any one attempted to fix it ?
Would the mainline kernel be receptive to such modifications ?
Regards
Phil Wilshire
next reply other threads:[~2008-05-31 12:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-31 12:44 Phil Wilshire [this message]
2008-06-02 0:03 ` initramfs size limitation Rob Landley
2008-06-02 0:25 ` Mike Frysinger
2008-06-02 0:42 ` Bryan Wu
2008-06-03 20:59 ` Rob Landley
2008-06-03 21:54 ` Mike Frysinger
2008-06-04 17:24 ` Rob Landley
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=4841481E.8090406@cox.net \
--to=pwilshire@cox.net \
--cc=linux-embedded@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;
as well as URLs for NNTP newsgroup(s).