SDCard corrupted folders

eduardo
Hi,

I was using a sdcard to store some data on a sqlite database. My equipment
is a simple data logger, so it needs to continue turned on all the time.
This morning I noted that the equipment has stopped, then I used COM1 via
serial (gtkterm) to figure out what happened.
The sdcard (NTFS) was mounted and I could read/write files to it. But a
weird fact occurs... 

[root@FriendlyARM /]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               125568     33352     92216  27% /
/dev/sdcard            1902272      1312   1900960   0% /sdcard
tmpfs                    29492         0     29492   0% /dev/shm

I have a "bd" dir inside sdcard, with the sqlite file "registries", inside
it.
So the directory path is: /sdcard/bd/

But when I run the command "ls", or "ls -la", i got:
[root@FriendlyARM /sdcard]# ls
BD.     ࡢd

[root@FriendlyARM /sdcard]# ls -la
drwxrwxrwx    4 root     root        16384 Jan  1 00:01 .
drwxr-xr-x    1 root     root         2048 Jan 10  2036 ..
drwxrwxrwx    2 root     root        32768 Oct 27  2011 BD.   

drwxrwxrwx    2 root     root        32768 Nov 17  2011 ࡢd


I don't know wtf is the "BD." folder, or "ࡢd" folder...
Without deleting the other folders, when I try to recreate the "bd" folder
again, i get the error:

[root@FriendlyARM prismaAcesso]# mkdir /sdcard/bd
mkdir: cannot create directory '/sdcard/bd': File exists

But there's no "bd" folder... there's only "BD. " and "ࡢd" folder. My
database is inside this weird "BD. " folder, and is intact. I can read all
registries inside it. 

Anyone knows why did it happened?
Any chance to prevent it to occur again?


Thanks in advance