Re: [Yaffs] can't see files after umount

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
CC: yuri.golovach
Subject: Re: [Yaffs] can't see files after umount
On Tuesday 20 December 2005 02:57, 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