Messages in this thread | | | From | "H. Peter Anvin" <> | Subject | Re: patch for fs/dcache race | Date | Wed, 13 Aug 1997 01:27:56 -0700 (PDT) |
| |
> > 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
| |