Re: Getting IOCTL's into VFS File System Drivers

Alexander Viro (viro@math.psu.edu)
Sun, 14 Nov 1999 19:54:44 -0500 (EST)


On 14 Nov 1999, Kai Henningsen wrote:
> > 3.something. And it required the mounpoint to be immediate
> > subdirectory of root.
>
> Nope.

Nope _what_? 3.30 definitely had JOIN, JOIN.EXE _did_ check for the depth
of mountpoint (want a reverse-engineered C source?) and while you could
do it by hands it was _bad_ idea. Reason: the same table kept the cwd for
each disk. It didn't take much to trick chdir() into buggering the whole
thing big way.

> >Due to the way they've stored the namespace state
> > the whole thing fscked up magnificiently if you tried to work with the
> > root of mounted fs via the old drive name.
>
> Nope.
>
> > SUBST was less b0rken, though.
>
> Surprise! It used the exact same mechanism.

Yes, it did. But there was the third user of the same mechanism. And here
the symmetry ends.

> > And more useful, BTW - it gave weak equivalent of tilde-expansion. Mixing
>
> I have no idea what you are talking about here.

man csh. Ever used ~ftp in scripts? Ever moved the sucker around? Exactly.
Now, replace it with the setup when package foo sits in the directory
bar\baz and you bind x: to bar\baz. Setting all pathes in config as
absolute on x:

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/