From: Adam McLaurin <buildroot@irotas.net>
To: buildroot@busybox.net
Subject: [Buildroot] Unable to create files inside mounted root filesystem
Date: Mon, 27 Oct 2008 10:07:40 -0400 [thread overview]
Message-ID: <1225116460.30688.1281460263@webmail.messagingengine.com> (raw)
In-Reply-To: <873aiimau6.fsf@macbook.be.48ers.dk>
On Mon, 27 Oct 2008 14:22:41 +0100, "Peter Korsgaard"
<jacmet@uclibc.org> said:
> That's because genext2fs only creates the file system exactly big
> enough for the buildroot files. If you want to have room for more
> stuff take a look at the BR2_TARGET_ROOTFS_EXT2_BLOCKS/INODES options:
>
> From target/ext2/Config.in:
>
> config BR2_TARGET_ROOTFS_EXT2_BLOCKS
> int "size in blocks (leave at 0 for auto calculation)"
> depends on BR2_TARGET_ROOTFS_EXT2
> default 0
>
> config BR2_TARGET_ROOTFS_EXT2_INODES
> int "inodes (leave at 0 for auto calculation)"
> depends on BR2_TARGET_ROOTFS_EXT2
> default 0
Yep, that was indeed the problem. However, it's not really clear to me
how the block size is computed by genext2fs, so it's hard to know
exactly how many blocks to allocate. I took a guess at 204088 blocks and
100000 inodes, which is probably overkill but seems to work.
Anyway, thanks for the advice!
-Adam
next prev parent reply other threads:[~2008-10-27 14:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-27 13:08 [Buildroot] Unable to create files inside mounted root filesystem Adam McLaurin
2008-10-27 13:15 ` Roberto A. Foglietta
2008-10-27 13:21 ` Adam McLaurin
2008-10-27 13:22 ` Peter Korsgaard
2008-10-27 14:07 ` Adam McLaurin [this message]
2008-10-27 14:28 ` Peter Korsgaard
2008-10-27 15:55 ` Adam McLaurin
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=1225116460.30688.1281460263@webmail.messagingengine.com \
--to=buildroot@irotas.net \
--cc=buildroot@busybox.net \
/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