Re: Bind Mount Extensions ...

From: Herbert Poetzl
Date: Fri Sep 19 2003 - 15:36:50 EST



On Fri, Sep 19, 2003 at 10:16:34PM +0200, Gábor Lénárt wrote:
> This would be VERY usefull. Here, we're using chroot'ed apache servers
> on Solaris and on Linux. For security reasons, the document root
> is mounted from "outside of chroot" into "inside of chroot" with
> read-only mode using lofs on Solaris, and it does the job.

FYI, it is also available for 2.4 ...

http://vserver.13thfloor.at/Experimental/patch-2.4.22-rc2-bme0.03.diff.bz2

best,
Herbert

> However we can't do this on Linux, or we must use nfs ro mount from
> localhost which is quite ugly, and much more slower as well I think ;-)
>
> On Fri, Sep 19, 2003 at 09:29:37PM +0200, Herbert Poetzl wrote:
> >
> > Hi Andrew!
> >
> > just verified that the patch still applies on
> > linux-2.6.0-test5 and linux-2.6.0-test5-mm3
> > without any issues ...
> >
> > FYI, this patch allows RO --bind mounts to
> > behave like other ro mounted filesystems ...
> >
> > do you see any possibility to get this in
> > for extensive testing in the near future?
> >
> > TIA,
> > Herbert
>
> - Gábor (larta'H)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/