All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alessandro GARDICH <gremlin@gremlin.it>
To: openembedded-devel@openembedded.org
Subject: trouble with ext2 filesystem
Date: Sat, 23 May 2009 22:23:13 +0200	[thread overview]
Message-ID: <4A185B31.8050003@gremlin.it> (raw)

[-- Attachment #1: Type: text/plain, Size: 1513 bytes --]

Hi all

I notice a problem of the generated filesystem

MACHINE = "qemux86"
DISTRO = "kaeilos"
IMAGE_FSTYPES = "ext2"
IMAGE_ROOTFS_SIZE = "102400"


building console-image I obtain a .ext2 filesystem with
Free blocks:              89357
Free inodes:              87

notice ... only 87 free inodes !!!

after my small and trial patch this is the result
Free blocks:              86302
Free inodes:              24527

maybe 4096 could be too small ... maybe 10k could be good, your choice.

At now I modify qemux86.conf cause usually EXTRA_IMAGECMD is in the 
machine config file, but to add hardware specific parameters (flash size 
  and erase size). I'm not sure if is the right place. Probably in the 
distro configuration could be better.

thanks in advance



-- 
  /------------------------------------------------\
|     Alessandro Gardich : gremlin#gremlin!it      |
  >------------------------------------------------<
|  I never saw a wild thing sorry for itself.      |
|  A small bird will drop frozen dead from a bough |
|  without ever having felt sorry for itself.      |
  \------------------------------------------------/

diff --git a/conf/machine/qemux86.conf b/conf/machine/qemux86.conf
index c251216..23436ce 100644
--- a/conf/machine/qemux86.conf
+++ b/conf/machine/qemux86.conf
@@ -16,3 +16,5 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-rp"
 
 GLIBC_ADDONS = "nptl"
 GLIBC_EXTRA_OECONF = "--with-tls"
+
+EXTRA_IMAGECMD_ext2 = "-i 4096"

             reply	other threads:[~2009-05-23 20:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-23 20:23 Alessandro GARDICH [this message]
2009-05-23 20:43 ` trouble with ext2 filesystem Phil Blundell
2009-05-24  7:26   ` Alessandro GARDICH
2009-06-09  9:42     ` Marco Cavallini
2009-05-24  7:29   ` Alessandro GARDICH
2009-05-24  7:29   ` Alessandro GARDICH
2009-06-09  8:49 ` Marco Cavallini
2009-06-09  9:24   ` Alessandro GARDICH

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=4A185B31.8050003@gremlin.it \
    --to=gremlin@gremlin.it \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.