[Yaffs] can't see files after umount

Charles Manning manningc2 at actrix.gen.nz
Mon Dec 19 21:34:05 GMT 2005


On Tuesday 20 December 2005 02:57, yuri.golovach at mindspeed.com wrote:
> I've downloaded and setup newest yaffs2 sources on my kernel. All is fine.
> I can do
> mount -t yaffs2 /dev/mtdblock3 /mnt/y
> cp test1 /mnt/y
> ls /mnt/y
>     lost+found    test1
>
> but after
> umount /mnt/y
> mount -t yaffs2 /dev/mtdblock3 /mnt/y
>
> when I do  ls /mnt/y
> I receive only lost+found folder
>
> I don't receive any warning/errors messages. Can someone help me and
> recommend what to do?

As Lance has noted, this is almost certainly a tags corruption issue that will 
get sorted out once the mtd oobavail handling is fixed (ETA before the end of 
the year).

In the mean time you need to work around this by shifting bytes around so that 
the mtd and YAFFS oob handling don't stomp on eachother.

-- CHarles




More information about the yaffs mailing list