Re: dcache questions

Martin von Loewis (martin@mira.isdn.cs.tu-berlin.de)
Tue, 30 Dec 1997 18:30:57 +0100


> What about always putting short path name in the dcache?
> This way, when you have to lookup for a path, you just have to convert
> it to its short alias if necessary, and then use the dentry lookup.
>
> Have I missed something?

The problem is that there is no fixed 1:1 relationship between long
and short names. On my system, I have

progra~1
progra~2
Program Files
Programme

(This comes from installing a German version of Win95 and English
software :-)

It is impossible to tell which alias belongs to which long name,
unless you read the directory. The point of the dcache is to
not read the directory, of course.

Regards,
Martin