All of lore.kernel.org
 help / color / mirror / Atom feed
From: Will Wagner <will_wagner@carallon.com>
To: Nils Faerber <nils.faerber@kernelconcepts.de>
Cc: linux-mtd@lists.infradead.org
Subject: Re: NAND and JFFS2 newbie question
Date: Wed, 28 Jan 2009 13:19:04 +0000	[thread overview]
Message-ID: <49805B48.30501@carallon.com> (raw)
In-Reply-To: <49804FA3.7010604@kernelconcepts.de>

Nils Faerber wrote:

>> I am wanting to create a JFFS2 partition on the device. The partition is created using:
>>
>> mkfs.jffs2 -s 2 -e 128 -c 12 -o fs.jffs2 -r jffs2_fs
> 
> I guess one of the problems will be that the sizes you specified are way
> too small. Fomr the man-page of mkfs.jffs2:
> "Options that take SIZE arguments can be specified as either decimal
> (e.g., 65536), octal (0200000), or hexidecimal (0x1000)"
> 

The man page seemed to imply that values under 4096 would be treated as KiB so -e 128 
should be correct. However the page size looks like it doesn't do that and so it should be 
set to 2048.

As an aside do I need to specify the -c option or is it not needed? If it is needed is 12 
the correct size for the clean marker?

Thanks,

Will

-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner@carallon.com
Development Manager                      Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

      reply	other threads:[~2009-01-28 13:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27 16:56 NAND and JFFS2 newbie question Will Wagner
2009-01-28 12:29 ` Nils Faerber
2009-01-28 13:19   ` Will Wagner [this message]

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=49805B48.30501@carallon.com \
    --to=will_wagner@carallon.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=nils.faerber@kernelconcepts.de \
    /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.