From mboxrd@z Thu Jan 1 00:00:00 1970 From: chris barry Subject: OT: was Re: bind mounting into a generated multi-level directory structure Date: Mon, 18 Feb 2008 10:37:06 -0500 Message-ID: <1203349026.5227.24.camel@localhost> References: <47AF07BF.2040405@bononline.nl> <1203028372.8007.54.camel@localhost> <47B560D4.9010301@bononline.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Chris Stromsoe Cc: autofs@linux.kernel.org On Fri, 2008-02-15 at 13:44 -0800, Chris Stromsoe wrote: > My eventual solution was to use multi-mount to bind mount a shared > directory with libraries and other common data to a "simple" generated > path as a container, and then bind mount the hashed directory inside of > that volume. I'm using the container volume as a chroot environment to > run untrusted code (php) on a web server, and wanted to minimize exposure > to the rest of the machine as much as possible. > > -Chris This sounds like a very cool solution. Any chance of you whipping up a more detailed recipe? -C