public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Creating an Empty JFFS2 File System
@ 2008-03-07 17:55 Grant Erickson
  2008-03-07 18:37 ` Josh Boyer
  2008-03-07 18:50 ` Markus Franke
  0 siblings, 2 replies; 5+ messages in thread
From: Grant Erickson @ 2008-03-07 17:55 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

Is creating an empty JFFS2 file system supported or is this a deprecated
capability? The following steps seem to be incorrect or failing:

    # flash_eraseall -q -j /dev/mtd9
    # mount -t jffs2 /dev/mtdblock9 /mnt
    Cowardly refusing to erase blocks on filesystem with no valid JFFS2
    nodes
    empty_blocks 0, bad_blocks 0, c->nr_blocks 3840

Or, is the only way to accomplish this to create a NULL JFFS2 image with
mkfs.jffs2 and then nandwrite it?

Regards,

Grant

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

end of thread, other threads:[~2008-08-23 15:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-07 17:55 Creating an Empty JFFS2 File System Grant Erickson
2008-03-07 18:37 ` Josh Boyer
2008-03-07 20:39   ` Grant Erickson
2008-08-23 15:34     ` Grant Erickson
2008-03-07 18:50 ` Markus Franke

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