[Yaffs] Yaffs and MTD

Charles Manning manningc2 at actrix.gen.nz
Tue Dec 13 20:23:41 GMT 2005


On Wednesday 14 December 2005 03:33, Ian McDonnell wrote:
> On Tuesday 13 December 2005 04:53, André Tousch wrote:
> > Thank you; another question : why do we need to choose between
> > yaffs and   yaffs2 at mount time? Why does not
> > yaffs_read_super determine the filesystem type depending on
> > the page size?
>
> You can do this, I tweeked the yaffs2 code to do just that:

This was discussed a while back and I had it on my TODO list. I didn't realise 
it would be as simple as this :-).

I will add in this, with a Kconfig switch.

An alternative is to load three fs selections:
yaffs == current yaffs
yaffs2 == current yaffs2
yaffsauto = autodetect. Implements Ian's logic.

Thanx Ian

-- CHarles



More information about the yaffs mailing list