[Yaffs] Trouble with multiple files with the same name...

Charles Manning manningc2 at actrix.gen.nz
Sat May 6 22:16:11 BST 2006


On Saturday 06 May 2006 02:43, Livio Tenze wrote:
> Hi all,
>
> I found a strange behaviour of the yaffs filesystem.
> I mounted my nand device, then  I wrote the data. Finally I executed
> some executables. All seems to work fine.
> When I reboot my board and try to run again my executables, thera are
> some problems. In particular I find that there are multiple files with
> the same name within a directory... I cannot delete them.
> ls -la
> -rw-r--r--    1 root     root           70 Jan  1 00:01
> defaultbuttons_new.conf
> -rw-r--r--    1 root     root           70 Jan  1 00:01
> defaultbuttons_new.conf
> -rw-r--r--    1 root     root           70 Jan  1 00:01
> defaultbuttons_new.conf
> -rw-r--r--    1 root     root           70 Jan  1 00:01
> defaultbuttons_new.conf
> -rw-r--r--    1 root     root           70 Jan  1 00:01
> defaultbuttons_new.conf

This is most odd.

Can you do "ls -ial". This shows inode numbers too which can help a bit.

It would appear that, for some reason, the previous files have not been marked 
as deleted.




More information about the yaffs mailing list