(Fwd) Re: DOSFS bug fixes, IDE drivers and sample released

Eugeny S. Mints Eugeny.Mints at oktet.ru
Thu Apr 24 11:34:09 UTC 2003


Hi,

On Thu, 24 Apr 2003, Thomas Doerfler wrote:

> Hi,
>
> 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.

Sorry I haven't answered for the issue - but I just hadn't
understood that the issue is still actual:( So, Thomas is
absolutely correct - DOSFS stores all file names in
uppercase and makes convertion to upper case before
comparision.

>
> wkr,
> 	Thomas.
>
>
> > 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-
> systems.de/pgp_keys.htm
>

-- 
Eugeny S. Mints
OKTET Ltd.
1 Ulianovskaya st., Petergof, St.Petersburg, 198904 Russia
Phone: +7(812)428-4384 Fax: +7(812)327-2246
mailto:Eugeny.Mints at oktet.ru




More information about the users mailing list