Re: [PATCH] private mounts

From: Jan Hudec
Date: Wed Apr 27 2005 - 07:45:36 EST


On Wed, Apr 27, 2005 at 14:23:48 +0200, Miklos Szeredi wrote:
> > What makes you think Pavel was talking about semantics?!
>
> Well, if it brings us ugly semantics, keeping those two lines out for
> ^^^^^^^^^
> a while can help merge a lot...
>
> > The point was that:
> > Ok, there is a strong disagreement about these two lines. Could we have
> > a patch with everything but these two lines, so it can be integrated
> > immediately to profit of the testing and generally be useful, and then
> > the controversial bits when the issue is beaten to death?
>
> I could remove this check.
>
> But it would only cause confusion. How would the userspace utilities
> differentiate between the safe out-of-kernel and the unsafe in-kernel
> module? Adding hacks to make this possible is far more ugly IMO than
> integrating the current well tested solution.
>
> It makes no sense. If someone would give me a rational explanation
> why it is bad, I would be content. But you just tell me it's
> terrible, ugly, crap which may well be true, but are not technical
> terms, which I can relate to.

Where the hell do you see it above. The only thing I said above is it is
controversial.

The userland tools don't need to know. They just need to not be suid.

> > As I understand it, doing things like this is butt ugly. Not just in
> > fuse -- in NFS, in samba, everywhere where such hacks are employed. But
> > now they just have enough of those hacks and want a cleaner solution.
>
> Please do. I want it too.
>
> _When_ we have a better solution, all the hacks can be removed, and
> the world will rejoice.
>
> Until then, let the hacks live! Please!

Ok, here I say it is ugly (but not that it's crap). And the reason is,
that there is a permission system, with some semantics, and then various
filesystems adapt it in varous ways to fit what they want. So every
filesystem ends up with it's onw little different behaviour.

That being said, fuse does just about the same as NFS, samba and others
and I don't really see the reason why it couldn't be integrated. But
I am not the one to decide.

-------------------------------------------------------------------------------
Jan 'Bulb' Hudec <bulb@xxxxxx>

Attachment: signature.asc
Description: Digital signature