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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Livio Tenze
Date:  
To: yaffs
Subject: [Yaffs] Trouble with multiple files with the same name...
>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.


Hello Charles,

here I attach the ls -ial resutls:
ls -ial
    316 drwxr-xr-x    1 root     root          512 May  4  2006 .
    260 drwxr-xr-x    1 root     root          512 Apr 20  2006 ..
   2662 -rw-r--r--    1 root     root           96 Jan  1 00:01 defaultbuttons_new.conf
   2662 -rw-r--r--    1 root     root           96 Jan  1 00:01 defaultbuttons_new.conf
   2662 -rw-r--r--    1 root     root           96 Jan  1 00:01 defaultbuttons_new.conf
   2662 -rw-r--r--    1 root     root           96 Jan  1 00:01 defaultbuttons_new.conf
   2662 -rw-r--r--    1 root     root           96 Jan  1 00:01 defaultbuttons_new.conf
   2662 -rw-r--r--    1 root     root           96 Jan  1 00:01 defaultbuttons_new.conf
   2662 -rw-r--r--    1 root     root           96 Jan  1 00:01 defaultbuttons_new.conf


Really strange...
Livius