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: Mon, 11 Feb 2008 14:50:27 +0100 Message-ID: <47B052A3.6020005@bononline.nl> References: 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 Cc: autofs@linux.kernel.org 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