root jffs2
David Woodhouse
dwmw2 at infradead.org
Wed Jun 13 12:33:33 EDT 2001
nico at cam.org said:
> On Wed, 13 Jun 2001, Vipin Malik wrote:
> > What about a "jffs2erase" routine that not only erases the flash sectors
> > but also writes out this "signature" at the start of every erase block.
> > This way one can mount an empty JFFS2 fs on a MTD partition erased by
> > jffs2erase?
> This is IMHO not the real solution.
Why? No other filesystem can be mounted on empty media without some form of
mkfs.
In fact you wouldn't need to do every block. All you'd have to do is put
the 12-byte cleanmarker node at the beginning of the first block and it'd
be sufficient.
You could do this with a suitable 'echo' command.
--
dwmw2
More information about the linux-mtd
mailing list