lkml.org 
[lkml]   [1997]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dcache questions
> 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

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.110 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site