This is the mail archive of the
mailing list for the eCos project.
Re: FAT FS enhancements
> I think I know what the problem is. the file system functions do not
> actually return their error codes. They return -1, and set errno.
Thats normal POSIX...
> EPERM happens to be 1, which when I first ran this, I assumed that
> it was just a sign problems, and reversed my signs in the checks.
> Attached is an attempt at a patch. However, I still can't get my
> home target to access the HD, so I cannot test it. I can test it on
> Monday and give you the results.
I always use the synthetic target for things like this.
packages/fs/fat/current/doc/README.txt tells you how.