All of lore.kernel.org
 help / color / mirror / Atom feed
* trouble with ext2 filesystem
@ 2009-05-23 20:23 Alessandro GARDICH
  2009-05-23 20:43 ` Phil Blundell
  2009-06-09  8:49 ` Marco Cavallini
  0 siblings, 2 replies; 8+ messages in thread
From: Alessandro GARDICH @ 2009-05-23 20:23 UTC (permalink / raw)
  To: openembedded-devel

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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-06-09  9:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-23 20:23 trouble with ext2 filesystem Alessandro GARDICH
2009-05-23 20:43 ` 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

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.