From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from plane.gmane.org ([80.91.229.3]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SPwku-0005KK-UQ for linux-mtd@lists.infradead.org; Thu, 03 May 2012 14:11:41 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SPwkl-0005l5-AM for linux-mtd@lists.infradead.org; Thu, 03 May 2012 16:11:31 +0200 Received: from dsl.comtrol.com ([64.122.56.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2012 16:11:31 +0200 Received: from grant.b.edwards by dsl.comtrol.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2012 16:11:31 +0200 To: linux-mtd@lists.infradead.org From: Grant Edwards Subject: Re: Question about mkfs.jffs2 "-s" option Date: Thu, 3 May 2012 14:11:09 +0000 (UTC) Message-ID: References: <20120503095127.6931d370@pixies.home.jungo.com> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 2012-05-03, Shmulik Ladkani wrote: > Looks like mkfs.jffs2 sets > case 's': > page_size = strtol(optarg, NULL, 0); > > and does not further parse KiB/MiB tokens. > > So my buest guess, try to specify '-s 4096' instead of '4KiB'. I should have tried that. Using -s4096 indeed produces the same result as without the -s option. I read the description of how the erase block size was parsed, and assumed that applied to the the page size as well. -- Grant Edwards grant.b.edwards Yow! Gee, I feel kind of at LIGHT in the head now, gmail.com knowing I can't make my satellite dish PAYMENTS!