From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Bon Subject: Re: bind mounting into a generated multi-level directory structure Date: Fri, 15 Feb 2008 10:52:20 +0100 Message-ID: <47B560D4.9010301@bononline.nl> References: <47AF07BF.2040405@bononline.nl> <1203028372.8007.54.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1203028372.8007.54.camel@localhost> 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: autofs@linux.kernel.org chris barry wrote: > On Sun, 2008-02-10 at 15:18 +0100, Stef Bon wrote: > >> Chris Stromsoe wrote: >> >>> I have a set of directories that are created and removed programmatically, >>> and are hashed three levels deep (/top/hash/hash/name). The depth is >>> constant, the hashes and names are not. There are around 35k at any time. >>> I would like to bind mount a common directory into each top-level >>> (/top/hash/hash/name/data) on demand. >>> >>> Can I use autofs to do that without having to explicitly list all of the >>> directory paths in auto.master? >>> >>> >> Why not use symlinks to this shared common directory, and mount that one? >> >> Stef Bon >> > > His goal is to create a chroot'd environment, and the symlink cannot > function there. > Good to mention. I did not understand it's about a chrooted environment. The earlier emails do not say anything at all about that. Stef