[ECOS] fatfs help.

David Brennan eCos@brennanhome.com
Sat Aug 21 01:54:00 GMT 2004

I am using fatfs on i386 pc ide device and am having a problem. I was 
wondering if you could point me in the right direction for a solution.

First, I am not a FS genius, nor a FAT expert. So please bear with me.

If I unlink a file in eCos, a "dir" from within eCos shows the file missing.
When I reboot the system into FreeDos (0.9rc5, if that matters) the file 
is still in the directory listing.
Rebooting back into the eCos app still shows the file missing (it's not 
a cached fat table issue).

Is the problem most likely eCos fatfs, pc-ide driver, FreeDos?

Any tips on how to narrow the problem down would be greatly appreciated. 
I know I could turn on some of the tracing in the fatfs, but I still 
wouldn't be able to read/understand that. But if someone else can decode 
it, I can provide the data.

The fat file system was formatted originally with MS-DOS 6.22. The drive 
has been converted to FreeDos 0.9rc5 kernel, but never reformatted. It 
is a 192MB CF card.

David Brennan

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list