linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: Re: Question about mkfs.jffs2 "-s" option
Date: Thu, 3 May 2012 14:11:09 +0000 (UTC)	[thread overview]
Message-ID: <jnu3lt$8ad$1@dough.gmane.org> (raw)
In-Reply-To: 20120503095127.6931d370@pixies.home.jungo.com

On 2012-05-03, Shmulik Ladkani <shmulik.ladkani@gmail.com> 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!

  reply	other threads:[~2012-05-03 14:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-02 16:08 Question about mkfs.jffs2 "-s" option Grant Edwards
2012-05-03  6:51 ` Shmulik Ladkani
2012-05-03 14:11   ` Grant Edwards [this message]
2012-05-03  7:35 ` Ricard Wanderlof
2012-05-03 14:12   ` Grant Edwards
2012-05-03 18:13   ` Shmulik Ladkani
2012-05-03 18:21     ` Grant Edwards
2012-05-04  7:15     ` Artem Bityutskiy
2012-05-04 12:00       ` Shmulik Ladkani

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='jnu3lt$8ad$1@dough.gmane.org' \
    --to=grant.b.edwards@gmail.com \
    --cc=linux-mtd@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).