All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Wuertele <dave-gnus@bfnet.com>
To: linux-mtd@lists.infradead.org
Subject: v1.38  "mkfs.jffs2 --pad"  goes overboard
Date: Sun, 25 May 2003 13:41:45 -0700	[thread overview]
Message-ID: <m3brxqzrli.fsf@bfnet.com> (raw)

Why is mkfs.jffs2 generating a larger file than I want?

  # /sbin/mkfs.jffs2 --version
  mkfs.jffs2: revision 1.38

  # /sbin/mkfs.jffs2 --pad=10485760 --little-endian --squash -e 16384 -d root -o jffs2.dat
  # ls -al jffs2.dat
  -rw-r--r--    1 root     root     10551296 May 25 13:36 jffs2.dat
  # 

My partition is only 10MB.  That's (1024*1024*10) = 10485760 bytes.
It is divisible by the 16k erase block.  So why does mkfs.jffs2 insist
on writing 65536 more bytes than I want?  Am I doing something wrong
or is this a bug?

Dave

             reply	other threads:[~2003-05-25 20:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-25 20:41 David Wuertele [this message]
2003-05-25 20:48 ` v1.38 "mkfs.jffs2 --pad" goes overboard David Wuertele

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=m3brxqzrli.fsf@bfnet.com \
    --to=dave-gnus@bfnet.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 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.