possible bug in "--pad" option for mkfs.jffs2?

Ryan B. Lynch rlynch at bway.net
Mon Aug 15 13:29:59 EDT 2005


Hey,

Artem B. Bityuckiy wrote:

> Ryan B. Lynch wrote:
>
> Dunno, never used this option (what for?). Glance at
> utils/mkfs.jffs2.c. :-) \


The "--pad" option?  From the manpage:

"-p, --pad[=SIZE]
    Pad output to SIZE bytes with 0xFF.  If SIZE is not specified, the
output is padded to the end of the final erase block."

I'm looking at the C source right now, too... gonna see if I can figure
out WTF is going on.

-Ryan




More information about the linux-mtd mailing list