Regarding "This should be in the FAQ!", this is all documented
in Appendix C of the User's Guide, titled "Filename mapping".
-David
Jens Benecke wrote:
>
> On Wed, Jul 04, 2001 at 02:41:17PM -0700, <kilroy is back> wrote:
>
> > Can anyone tell me why I am getting strange 8.3 file names like the ones
> > shown below and what if anything I can do to fix the problem?
>
> > I get a (similarly strange) listing of the "Program Files" directory, but
> > the normal 8.3 form of "Program Files" is PROGRA~1.
>
> My guess:
>
> No. There is no 'normal' form. It's all up to the file system driver, which
> in this case is Win4lin internal. Samba does it similarly.
>
> This is a workaround for one of the most blatant file system and security
> bugs in today's Windows systems. In Windows, there is no way to tell from
> the short file name which long one is right. E.g. if you have
>
> Programme <- German directory name
> Program Files <- some stupid english programs still create this
>
> which of these is supposed to be PROGRA~1, and which is PROGRA~2 ? You
> cannot tell. You can with this scheme, because the last four chars appear
> (to me) to be a kind of checksum of the full name. So, the chance of
> collision is almost zero.
>
> If you don't hack the FAT file system to death to provide additional links
> (because in reality you don't HAVE a FAT file system), but just want two
> file names per directory entry, you have to link those two somehow.
> Otherwise you will get lots and lots of problems because programs will not
> find the right directories any more.
>
> This should be in the FAQ!
>
> --
> Jens Benecke
> http://www.hitchhikers.de/ - Die kostenlose Mitfahrzentrale f�r ganz Europa
>
>
>---------------------------------------------------------------------------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature
_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users