Re: [PATCH RFC] vfat andSimon_&_Garfunkel-Wednesday_Morning,_3_a.m.

From: Philippe De Muyter
Date: Wed Sep 30 2009 - 18:20:15 EST


On Wed, Sep 30, 2009 at 08:02:01PM +0900, OGAWA Hirofumi wrote:
> Philippe De Muyter <phdm@xxxxxxxxx> writes:
>
> >> > IIRC, Windows stripped the trailing ".". That filename can be read/used on
> >> > Windows?
> >>
> >> Sorry I don't use MS-Windows. I'll try to find someone who does.
> >
> > MS-Windows (XP SP3) lists correctly the names with their trailing dots.
>
> Ok. Is it meaning you could read the file correctly? I guess so, and
> I'll review deeply about dcache issues for it.

Sorry. I did not test enough yesterday. It was late :/

on MS-Windows XP SP#, the files and directories are listed with their
real name, including the trailing dots, but if one tries to open such a
file or go into such a directory, that fails with an error message.

With a "123456789." file :
Cannot find the E:\PUBLIC\trailing_dots\123456789. file.
Do you want to create a new file?
Yes No Cancel

With a "directoryname." directory :
E\PUBLIC\trailing_dots\directoryname. refers to a location that is unavailable.
It could be on a hard drive on this computer, or on a network. Check to make
sure that the disk is properly inserted, or that you are connected to the
Internet or your network, and then try again. If it still cannot be located,
the information might have been moved to a different location.
OK

I don't think we want linux to remain compatible with this bug. So perhaps
not removing the trailing dots for a lookup is all what is needed.

Best regards

Philippe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/