实例:mkfs.jffs2 -r rootfs -o rootfs.jffs2 -e 0x4000 --pad=0x1000000 -s 0x200 -n
mkfs.jffs2: Usage: mkfs.jffs2 [OPTIONS]
Make a JFFS2 file system image from an existing directory tree
Options:
-p, --pad[=SIZE]
-r, -d, --root=DIR
-s, --pagesize=SIZE
-e, --eraseblock=SIZE
-c, --cleanmarker=SIZE Size of cleanmarker (default 12)
-m, --compr-mode=MODE
-x, --disable-compressor=COMPRESSOR_NAME
-X, --enable-compressor=COMPRESSOR_NAME
-y, --compressor-priority=PRIORITY:COMPRESSOR_NAME
-L, --list-compressors Show the list of the avaiable compressors
-t, --test-compression Call decompress and compare with the original (for test)
-n, --no-cleanmarkers
-o, --output=FILE
-l, --little-endian
-b, --big-endian
-D, --devtable=FILE
-f, --faketime
-q, --squash
-U, --squash-uids
-P, --squash-perms
-h, --help
-v, --verbose
-V, --version
-i, --incremental=FILE Parse FILE and generate appendage output for it
track:http://buaadallas.blog.51cto.com/399160/107944