possible bug in "--pad" option for mkfs.jffs2?
Ferenc Havasi
havasi at inf.u-szeged.hu
Mon Aug 15 17:26:13 EDT 2005
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
More information about the linux-mtd
mailing list