On Fri, Oct 06, 2006 at 11:16:46AM +0200, Rogier Krieger wrote: > On 10/4/06, G 0kita <[EMAIL PROTECTED]> wrote: > >I notice mount_null was dropped as of OpenBSD 3.8, can someone tell > >me first of all why this was done [...] > > Various comments to the likes of 'turd polishing' can be found in the > misc@ archives. IIRC, the developers gave up on this piece of > functionality as it just wouldn't work reliably. See the archives and > commit logs for a more detailed description. > > >Specifically I'm looking to have a writable directory mounted read-only in > >another location. > > As another poster suggested, you can probably get away with local NFS > mounts. Those have worked for me since 3.8, although I never put them > to antthing resembling a stress test. YMMV.
If 70,000 hits/hour to a mod_perl website running in the chroot with /usr/local/libdata/perl5 and /usr/libdata/perl5 brought in this way counts as a stress test, then this method works fine. I am very happy with this method and use it both at work and for a small NGO I support. It works much better than the null mounts I had going previously. -Dan -- "Burnished gallows set with red Caress the fevered, empty mind Of man who hangs bloodied and blind To reach for wisdom, not for bread." -- Deoridhe Grimsdaughter