RFS vs. NFS (turned into "//" (super-root) discussion)
Guy Harris
guy at auspex.auspex.com
Tue Sep 4 05:07:26 AEST 1990
>Actually, POSIX doesn't quite say this. It says that a single slash is
>the root, two slashes may be interpreted in an implementation dependent manner
>and that three or more slashes collapse to the same as one.
Actually, POSIX doesn't quite say this, either. It says (definition of
"pathname", page 32):
...Multiple successive slashes are considered the same as one
slash. A pathname that begins with two successive slashes may
be interpreted in an implementation-defined manner, although
more than two leading slashes shall be treated as a single
slash.
So "foo//bar///bletch" is defined by POSIX to be equivalent to
"foo/bar/bletch", but "//hostname/foo/bar/bletch" may be interpreted in
some implementation-defined manner that's not the same as
"/hostname/foo/bar/bletch"; however, "///hostname/foo/bar/bletch" must
be interpreted as "/hostname/foo/bar/bletch".
More information about the Comp.unix.sysv386
mailing list