Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] Unable to create files inside mounted root filesystem
Date: Mon, 27 Oct 2008 15:28:10 +0100	[thread overview]
Message-ID: <878wsakt8l.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1225116460.30688.1281460263@webmail.messagingengine.com> (Adam McLaurin's message of "Mon\, 27 Oct 2008 10\:07\:40 -0400")

>>>>> "Adam" == Adam McLaurin <buildroot@irotas.net> writes:

Hi,

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

 Adam> Yep, that was indeed the problem. However, it's not really
 Adam> clear to me how the block size is computed by genext2fs, so
 Adam> it's hard to know exactly how many blocks to allocate. I took a
 Adam> guess at 204088 blocks and 100000 inodes, which is probably
 Adam> overkill but seems to work.

True. Those options are forwarded directly to genext2fs (-b and -N
options), so have a look at the man page of genext2fs for details.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2008-10-27 14:28 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
2008-10-27 14:28     ` Peter Korsgaard [this message]
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=878wsakt8l.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --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