From: Ray Lehtiniemi <rayl@otii.com>
To: linux-mtd@lists.infradead.org
Subject: mkfs.jffs2 question
Date: Sat, 2 Mar 2002 17:52:37 -0700 [thread overview]
Message-ID: <20020302175237.C14453@otii.com> (raw)
hi folks
two problems i notice with mkfs.jffs2:
first, the '-p' option seems to be parsed a little strangely:
mkfs.jffs2 ----> 712832 bytes
mkfs.jffs2 -p ----> 720896 bytes
mkfs.jffs2 --pad ----> 720896 bytes
mkfs.jffs2 -p 0x800000 ----> 720896 bytes
mkfs.jffs2 --pad=0x800000 ----> 8388608 bytes
shouldn't number 4 also result in an 8MB image?
second, if the very first dirent of the --root= argument is itself a dir, then
it is not put into the jffs2 image. for example, if i have:
/some/place/foo
/some/place/usr/bin/
/some/place/usr/sbin/
then:
mkfs.jffs2 --root=/some/place -o some.img
will contain both /usr/bin and /usr/sbin, but
mkfs.jffs2 --root=/some/place/usr -o some.img
will only contain /sbin (assuming it's the first dirent in usr)
i am looking at the code right now, but i was hoping the answer might jump out
at someone who already knows the code.
thanks
--
---------------------------------------------------------------------------
Ray Lehtiniemi <rayl@mail.com> <rayl@otii.com>
next reply other threads:[~2002-03-03 0:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-03 0:52 Ray Lehtiniemi [this message]
2002-03-03 2:20 ` mkfs.jffs2 question Ray Lehtiniemi
2002-03-03 10:07 ` David Woodhouse
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=20020302175237.C14453@otii.com \
--to=rayl@otii.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