(Fwd) Re: DOSFS bug fixes, IDE drivers and sample released
Thomas.Doerfler at imd-systems.de
Thu Apr 24 11:13:37 UTC 2003
sorry for the LATE reply.
Yes now I am sure that DOSFS (in the current version) properly
translates filenames into upper case. This is done in the
function "msdos_format_name" in msdos_misc.c.
So Filenames are stored in uppercase on disk, and they are
converted to upper case before getting compared.
> Thomas Doerfler wrote:
> > I am glad things are working for you now. The upper case
> > matter is a bit strange. Per definition, DOS filenames are
> > case insensitive. They are stored in upercase in the dorectory
> > but I am sure I open my files with a lowercase filename given
> > and the functions definitively find the right file and open
> > and read/write it.
> Are you sure ?
> My reading of the FAT code in cpukit/libfs/src/dosfs/msdos_misc.c is the file name
> tests are using strncmp so are case sensitive.
> It also looks like long file names are not support. Is this true ?
> Chris Johns, cjohns at cybertec.com.au
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler Herbststrasse 8
D-82178 Puchheim Germany
email: Thomas.Doerfler at imd-systems.de
PGP public key available at: http://www.imd-
More information about the users