From: Ferenc Havasi <havasi@inf.u-szeged.hu>
To: "Ryan B. Lynch" <rlynch@bway.net>
Cc: linux-mtd@lists.infradead.org
Subject: Re: possible bug in "--pad" option for mkfs.jffs2?
Date: Mon, 15 Aug 2005 23:26:13 +0200 [thread overview]
Message-ID: <43010875.4050708@inf.u-szeged.hu> (raw)
In-Reply-To: <4300BEE2.4020104@bway.net>
Hi Ryan,
>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
>
>
Do not use space between -p and its parameter. It will work.
It is getopt bug (or feature) which happens using optional parameter.
If we whould change it to required parameter, than both "-p X" and "-pX"
would be OK, but in this case "-p X" means "-p" without parameter and X
- if I'm right.
Ferenc
prev parent reply other threads:[~2005-08-15 21:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-15 16:12 possible bug in "--pad" option for mkfs.jffs2? Ryan B. Lynch
2005-08-15 16:56 ` 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 [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=43010875.4050708@inf.u-szeged.hu \
--to=havasi@inf.u-szeged.hu \
--cc=linux-mtd@lists.infradead.org \
--cc=rlynch@bway.net \
/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