From: Matthias =?iso-8859-1?Q?K=F6nig?= Subject: Re: using autofs ... Date: Wed, 6 May 2009 21:50:36 +0200 Message-ID: <20090506195036.GA4877@zebra.localsite> References: <1241636410.4468.22.camel@bellerophon> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1241636410.4468.22.camel@bellerophon> 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: raespi Cc: autofs@linux.kernel.org raespi wrote: > It works ... My question is, why can't I use the "/" directory as a key > name?? And how could I configure the two files so I can mount everything > in "/home" ?? Because with normal indirect mounts / would be overmounted with an autofs filesystem. The alternative is using direct mounts (assuming autofs5) by using /- for the mount point in the master map and give the full path of the mount point as key in the map, something like this should work: auto.master: /- /etc/auto.home auto.home: /home x.x.x.x:/home Matthias