public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* mk.jffs2
@ 2005-06-07  9:32 Munira Ahmed
  2005-06-07 11:10 ` mkfs.jffs2 Jarkko Lavinen
  2005-06-07 11:49 ` mk.jffs2 Josh Boyer
  0 siblings, 2 replies; 3+ messages in thread
From: Munira Ahmed @ 2005-06-07  9:32 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

Is there any manual page or tutorial on mk.jffs2 on the net. it seems
that everything is inherently known to the community without proper
documentation or manuals. I can't find any decent document that could
give me a start.


Where do I learn about jffs2 and mk.jffs2



-- 
Munira Ahmed

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mkfs.jffs2
  2005-06-07  9:32 mk.jffs2 Munira Ahmed
@ 2005-06-07 11:10 ` Jarkko Lavinen
  2005-06-07 11:49 ` mk.jffs2 Josh Boyer
  1 sibling, 0 replies; 3+ messages in thread
From: Jarkko Lavinen @ 2005-06-07 11:10 UTC (permalink / raw)
  To: Munira Ahmed; +Cc: linux-mtd@lists.infradead.org

On Tue, Jun 07, 2005 at 05:32:53PM +0800, ext Munira Ahmed wrote:
> Is there any manual page or tutorial on mk.jffs2 on the net. it
seems

Run mkfs.jffs2 without an argument to print its usage? (Sample below)

For example, I use following command for Nokia 770 test board with
Samsung 1Gbit chip with 128KiB erase block size. I create the image
without cleanmarkers because that is the way how N770's bootloader
engulfs the JFFS2 image to be flashed.

  $ mkfs.jffs2 -r srcdir -o imagefile -e 128 -l -n


Jarkko Lavinen


$ ./mkfs.jffs2
mkfs.jffs2: Usage: mkfs.jffs2 [OPTIONS]
Make a JFFS2 file system image from an existing directory tree

Options:
  -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
  -r, -d, --root=DIR      Build file system from directory DIR (default: cwd)
  -s, --pagesize=SIZE     Use page size (max data node size) SIZE (default: 4KiB)
  -e, --eraseblock=SIZE   Use erase block size SIZE (default: 64KiB)
  -c, --cleanmarker=SIZE  Size of cleanmarker (default 12)
  -m, --compr-mode=MODE   Select compression mode (default: priortiry)
  -x, --disable-compressor=COMPRESSOR_NAME
                          Disable a compressor
  -X, --enable-compressor=COMPRESSOR_NAME
                          Enable a compressor
  -y, --compressor-priority=PRIORITY:COMPRESSOR_NAME
                          Set the priority of a compressor
  -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   Don't add a cleanmarker to every eraseblock
  -o, --output=FILE       Output to FILE (default: stdout)
  -l, --little-endian     Create a little-endian filesystem
  -b, --big-endian        Create a big-endian filesystem
  -D, --devtable=FILE     Use the named FILE as a device table file
  -f, --faketime          Change all file times to '0' for regression testing
  -q, --squash            Squash permissions and owners making all files be owned by root
  -U, --squash-uids       Squash owners making all files be owned by root
  -P, --squash-perms      Squash permissions on all files
  -h, --help              Display this help text
  -v, --verbose           Verbose operation
  -V, --version           Display version information
  -i, --incremental=FILE  Parse FILE and generate appendage output for it




> that everything is inherently known to the community without proper
> documentation or manuals. I can't find any decent document that could
> give me a start.
> 
> 
> Where do I learn about jffs2 and mk.jffs2
> 
> 
> 
> -- 
> Munira Ahmed
> 
> 
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mk.jffs2
  2005-06-07  9:32 mk.jffs2 Munira Ahmed
  2005-06-07 11:10 ` mkfs.jffs2 Jarkko Lavinen
@ 2005-06-07 11:49 ` Josh Boyer
  1 sibling, 0 replies; 3+ messages in thread
From: Josh Boyer @ 2005-06-07 11:49 UTC (permalink / raw)
  To: Munira Ahmed; +Cc: linux-mtd@lists.infradead.org

On Tue, 2005-06-07 at 17:32 +0800, Munira Ahmed wrote:
> Is there any manual page or tutorial on mk.jffs2 on the net. it seems
> that everything is inherently known to the community without proper
> documentation or manuals. I can't find any decent document that could
> give me a start.
> 

There isn't a man page that I know of.  And the mtd-utils "packages"
that some distributions like SuSE have aren't really packages.  They are
just tarballs of a CVS snapshot that have been put into package form.
They are almost always out of date.  The best place to get the MTD
utilities is from CVS.

As for general information about JFFS2, take a look at the following
websites:

http://sourceware.org/jffs2/
http://linux-mtd.infradead.org
http://linux-mtd.infradead.org/faq/jffs2.html

josh

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-07 11:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-07  9:32 mk.jffs2 Munira Ahmed
2005-06-07 11:10 ` mkfs.jffs2 Jarkko Lavinen
2005-06-07 11:49 ` mk.jffs2 Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox