From d9bcd179a5a1e02de4cd2490bfb821e1a7270188 Mon Sep 17 00:00:00 2001 From: Alessandro GARDICH Date: Sat, 23 May 2009 21:26:47 +0000 Subject: trouble with ext2 filesystem Phil Blundell wrote: > On Sat, 2009-05-23 at 22:23 +0200, Alessandro GARDICH wrote: >> 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. > > The distro config probably is the right place for this. After all, the > number of inodes you need depends primarily on the number of files that > you're going to ship in the rootfs, and that in turn is primarily > influenced by the DISTRO's policies rather than by any inherent aspect > of the MACHINE. > > The other uses of EXTRA_IMAGECMD that I guess you're thinking of are > mostly to do with jffs2 parameters, which are rather different in that > they're determined by the specifics of the hardware in use and hence do > go with the MACHINE rather than the DISTRO. > > p. > > > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel true, reform the patch for kaeilos.conf Acked-by: Marco Cavallini --- conf/distro/kaeilos.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf/distro') diff --git a/conf/distro/kaeilos.conf b/conf/distro/kaeilos.conf index 6d01c773ce..2b3aae879f 100644 --- a/conf/distro/kaeilos.conf +++ b/conf/distro/kaeilos.conf @@ -42,6 +42,8 @@ DISTRO_TYPE ?= "debug" # Also, it appears that no locales fit in 16Mb for now. "C" locale rules! IMAGE_LINGUAS = '${@base_less_or_equal("ROOT_FLASH_SIZE", "16", "", "en-us", d)}' +# increase inode/block ratio for ext2 filesystem +EXTRA_IMAGECMD_ext2 = "-i 4096" # set feed path variables FEED_BASEPATH = "feeds/2008/${ANGSTROM_PKG_FORMAT}/${LIBC}/" -- cgit v1.2.3 From b1c44841c6afa47ae34de08f2792d6758cc3143b Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Tue, 9 Jun 2009 21:05:35 +0900 Subject: minimal.conf: increase number of inodes in ext2 rootfs to 8192. --- conf/distro/minimal.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf/distro') diff --git a/conf/distro/minimal.conf b/conf/distro/minimal.conf index c05676cb50..ed939599e1 100644 --- a/conf/distro/minimal.conf +++ b/conf/distro/minimal.conf @@ -61,6 +61,9 @@ CACHE ?= "${TMPDIR}/cache/${LIBC}/${MACHINE}" DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}" DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}" +# increase inode/block ratio for ext2 filesystem +EXTRA_IMAGECMD_ext2 = "-i 8092" + ############################################################################# # KERNEL ############################################################################# -- cgit v1.2.3 From 04537a9178db5f9d6c9eaa8f6818b78499dadc56 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Tue, 9 Jun 2009 21:53:31 +0900 Subject: minimal.conf: really set inodes in ext2 rootfs to 8192 now. --- conf/distro/minimal.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf/distro') diff --git a/conf/distro/minimal.conf b/conf/distro/minimal.conf index ed939599e1..f9c4670c67 100644 --- a/conf/distro/minimal.conf +++ b/conf/distro/minimal.conf @@ -62,7 +62,7 @@ DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}" DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}" # increase inode/block ratio for ext2 filesystem -EXTRA_IMAGECMD_ext2 = "-i 8092" +EXTRA_IMAGECMD_ext2 = "-i 8192" ############################################################################# # KERNEL -- cgit v1.2.3