From owner-freebsd-stable@FreeBSD.ORG Tue Nov 6 15:18:10 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E4F770B for ; Tue, 6 Nov 2012 15:18:10 +0000 (UTC) (envelope-from Corti@informatik.uni-stuttgart.de) Received: from mx1.informatik.uni-stuttgart.de (mailgw.informatik.uni-stuttgart.de [129.69.211.41]) by mx1.freebsd.org (Postfix) with ESMTP id 087028FC0C for ; Tue, 6 Nov 2012 15:18:07 +0000 (UTC) Received: from azu.informatik.uni-stuttgart.de (azu.informatik.uni-stuttgart.de [129.69.218.66]) by mx1.informatik.uni-stuttgart.de (Postfix) with ESMTP id C653D69F8 for ; Tue, 6 Nov 2012 16:09:44 +0100 (CET) Received: by azu.informatik.uni-stuttgart.de (Postfix, from userid 19691) id 0DAC14008; Tue, 6 Nov 2012 16:09:36 +0100 (MET) Date: Tue, 6 Nov 2012 16:09:35 +0100 (MET) From: Christian Corti To: freebsd-stable@freebsd.org Subject: Questions about amd automounter Message-ID: User-Agent: Alpine 2.02 (SUN 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2012 15:18:10 -0000 Hi, I am running FreeBSD 9.0-RELEASE-p4 on an AMD64 box. I am playing with the amd automounter and am looking for a solution of the following problem: I would like to have a /home map similar to autofs that has both local and NIS entries. With autofs (Solaris, Linux etc.) I can say in /etc/auto.home: testuser server:/export/home/testuser +auto_home How can I accomplish somethink similar with amd? Note that I can't put the testuser in the NIS map. Next, while testing different configurations I created a map with SUN syntax (described in the am-utils manual), but apparently the FreeBSD version of amd doesn't support it (there's clearly a lack of documentation and examples of _real-world_ scenarios): Here's the section of amd.conf: [ /xx ] sun_map_syntax = yes map_type = file map_name = /etc/amd.xx But that doesn't work: # /usr/sbin/amd -p -F /etc/amd.conf conf: unknown regular key "sun_map_syntax" for section "/xx" AMDCONF: syntax error on line 30 (section /xx) Am I doing something wrong? This is from the am-utils doc: "To enable Sun-style maps in Amd, set "sun_map_syntax = yes" in your amd.conf file. When this flag is set in [global], all maps read by Amd are assumed to be Sun style maps. You can set this on a per map basis, thus mixing Sun-style and Amd-style maps. For more information about amd.conf please see the Amd documentation." Christian