This is a nice idea... but awkward.
Particularly if md.o is a module, setting the hooks up properly would
not be tidy.
What we really need is a general concept of setting all drvies to
read-only through the block-dev layer.... maybe in the big blockdev
rewrite that is planned for 2.5...
NeilBrown
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/