[ECOS] JFFS2 questions with eCos
Andrew Lunn
andrew@lunn.ch
Mon Oct 3 08:34:00 GMT 2005
On Mon, Oct 03, 2005 at 04:15:19PM +0800, Steven_cheng wrote:
> Hi Adnrew,
>
> Thank you for your reply!!
> But I still have some questions about mkfs.jffs2.
There is a man page you know....
>
> Q1 : Can you tell me what is the different betweem -e
> and --eraseblock=size,
None. One is a short opt and one is a long opt. Standard GNU practice.
> -p and --pad=size ??
None, although there was/is a bug which i think means one does not
work. Check the actuall size of the image created.
> Q2 : "ereaseblock=size" and "--pad=size" in the statements, the unit is
> bytes or Kbytes ??
Why not read the man page and save us all waisted time...
Options that take SIZE arguments can be specified as either decimal
(e.g., 65536), octal (0200000), or hexidecimal (0x1000).
> I can't understand the meaning of the help as following:
>
> -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.
>
> -e, --eraseblock=SIZE Use erase block size SIZE (default: 64KiB)
What don't use understand?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list