lkml.org 
[lkml]   [1997]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: patch for fs/dcache race
Date
> 
> the rules are so simple if we define 'components', and allow _zero_
> components too. Components are separated by '/'.
>
> '/////////////xxx' means: alot of zero components, plus the "xxx"
> component. No 'slash after slash', just components.
>
> A 'full' pathname is a pathname that starts with a zero component.
>
> Components form a tree, a series of components identifies a node in the
> tree. These are the rules to identify a node in the tree:
>
> "" and "." are identity
> ".." means down in the tree
> anything else means up in the tree
>
> user-supplied component-series are _always_ relative to some node in the
> tree. If the first component is a zero component, then the starting point
> is current->fs->root, otherwise it's current->cwd.
>
> The Posix '//' thing can be considered a serious and pointless hack ... we
> can do everything with the above scheme already.
>

Pot-ei-to Pot-ah-to...

POSIX tends to define things in terms of effect, not implementation;
it's the same thing anyway...

-hpa


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