Re: [RFC][Long][Horror story] Mount flags

From: Alexander Viro (aviro@redhat.com)
Date: Sun Jul 30 2000 - 18:09:35 EST


On Mon, 31 Jul 2000, Andries Brouwer wrote:

> On Sun, Jul 30, 2000 at 06:23:05PM -0400, Alexander Viro wrote:
>
> > Moreover, we can't do anything about the 0xc0ed kludge
>
> Why not? If the first bit of flags is 1, check that the
> first 16 bits are 0xc0ed. If not, decode the following
> 15 bits.

Andries, no offense, but IMO it just replaces a kludge with more elaborate
one. Sorry. Yes, 31 bits will probably be sufficient forever (shut up, Albert)
but rules like that _really_ look ugly. Yes, it will work. But try to
describe the rules in a manpage and see if you will be able to look at it
without a feeling that it's an overcomplicated kludge. Yes, mount(2) is a
rarely used interface, but IMO it still should make sense. And yes, IMO
a new syscall would be better than that - in that case we are getting simple
rules in a new version + old version with all its warts for those who want
to use it.

-
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/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:32 EST