public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Ryan B. Lynch" <rlynch@bway.net>
To: linux-mtd@lists.infradead.org
Subject: possible bug in "--pad" option for mkfs.jffs2?
Date: Mon, 15 Aug 2005 16:12:18 +0000	[thread overview]
Message-ID: <4300BEE2.4020104@bway.net> (raw)

I don't know if this is really a bug, but mkfs.jffs2 doesn't seem to be
working entirely as advertised for me.  I'm trying to use the "--pad"
option to create some relatively large JFFS2 images (~200-950 MB).  I
know that these are larger than is common, so I'm also on the lookout
for size-related limitations.

I run 'mkfs.jffs2' with the following command line:

 $ /usr/sbin/mkfs.jffs2 \
 >    -r /tmp/root \
 >    -o /tmp/image-20050815.160044.jffs2 \
 >    -e 0x10000 \
 >    -p 214171648

The image size is NOT padded to 214,171,648 bytes, though--the size
depends on the contents of the filesystem (I tried varying it a little
to see what happens).  I'm assuming that "-e" and "-p" both take values
in bytes... Maybe someone can correct me on that?

Can anyone correct me, or give me some troubleshooting direction?

Thanks for the help,
Ryan

             reply	other threads:[~2005-08-15 16:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15 16:12 Ryan B. Lynch [this message]
2005-08-15 16:56 ` possible bug in "--pad" option for mkfs.jffs2? Ryan B. Lynch
2005-08-15 17:00   ` Artem B. Bityuckiy
2005-08-15 17:29     ` Ryan B. Lynch
2005-08-15 21:26 ` Ferenc Havasi

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=4300BEE2.4020104@bway.net \
    --to=rlynch@bway.net \
    --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