From: David Woodhouse <dwmw2@infradead.org>
To: Ray Lehtiniemi <rayl@otii.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: mkfs.jffs2 question
Date: Sun, 03 Mar 2002 10:07:53 +0000 [thread overview]
Message-ID: <11116.1015150073@redhat.com> (raw)
In-Reply-To: <20020302175237.C14453@otii.com>
rayl@otii.com said:
> shouldn't number 4 also result in an 8MB image?
Er, yes - probably. That looks like a getopt bug. I'm not sure what we
could do differently.
> second, if the very first dirent of the --root= argument is itself a
> dir, then it is not put into the jffs2 image.
> i recreated my toplevel tree, ensuring that the first dirent was a
> file, not a directory. now, all items show up just fine in the
> jffs2reader output, but the jffs2 image is the same size as it was
> before.
Presumably this is without the -p option? :)
> so maybe it's just a problem with the reader?
Mount the image on your host and verify this. I'm more inclined to believe
it's the jffs2reader at fault than mkfs.jffs2.
insmod mtdram total_size=8192 erase_size=64
dd if=/dev/mtd0 of=/dev/mtd0
mount -t jffs2 /dev/mtdblock0 /mnt/spare
--
dwmw2
next prev parent reply other threads:[~2002-03-03 9:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-03 0:52 mkfs.jffs2 question Ray Lehtiniemi
2002-03-03 2:20 ` Ray Lehtiniemi
2002-03-03 10:07 ` David Woodhouse [this message]
2002-03-03 10:42 ` Ray Lehtiniemi
-- strict thread matches above, loose matches on Subject: below --
2004-05-07 1:49 Burt Bicksler
2004-06-03 19:04 Mkfs.jffs2 question Carlos, John J USAATC
2008-05-07 18:54 mkfs.jffs2 question Manu Rao
2008-05-07 19:12 ` Ricard Wanderlof
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=11116.1015150073@redhat.com \
--to=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=rayl@otii.com \
/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