From owner-freebsd-questions Fri May 25 4:40:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from highland.isltd.insignia.com (highland.isltd.insignia.com [195.217.222.20]) by hub.freebsd.org (Postfix) with ESMTP id 4637537B423 for ; Fri, 25 May 2001 04:40:29 -0700 (PDT) (envelope-from freebsd-questions-local@insignia.com) Received: from wolf.isltd.insignia.com (wolf.isltd.insignia.com [172.16.1.3]) by highland.isltd.insignia.com (8.11.2/8.11.2/check_local4.2) with ESMTP id f4PBeMN78501 for ; Fri, 25 May 2001 12:40:22 +0100 (BST) Received: (from news@localhost) by wolf.isltd.insignia.com (8.9.3/8.9.3) id MAA14274 for freebsd-questions@freebsd.org; Fri, 25 May 2001 12:40:21 +0100 (BST) X-Authentication-Warning: wolf.isltd.insignia.com: news set sender to freebsd-questions-local@insignia.com using -f From: "Jim Hatfield" To: freebsd-questions@freebsd.org Subject: Equivalent to automount direct maps in amd? Date: Fri, 25 May 2001 12:40:25 +0100 Message-ID: <9elgb5$dtv$1@wolf.isltd.insignia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG We have a mixed network, some machines using automount and some amd. I've been trying to work out a way of getting amd to behave in a similar way to automount's direct map facility, ie /- auto.direct where auto.direct contains lines like: /users aserver:/export/users The documentation on: http://www.netbsd.org/Documentation/bsd/amdref.html suggests that it can be done like this: amd /users amd.direct -type:=direct where amd.direct contains: users type:=nfs;rhost:=aserver;rfs:=/users and further says that this will create links to mounted filesystems. It *almost* works. Doing a "ls /" shows that /users has sprung into existence, but a "ls -l /" produces this: >drwxrwxrwt 2 root wheel 512 May 25 12:07 tmp > >ls: //users: No such file or directory >lrwxrwxrwx 1 root wheel 6 May 25 12:09 users >drwxr-xr-x 17 root wheel 512 May 24 15:23 usr as if amd has created a link called "/users" instead of one called "users". Are there any amd experts out there who can shed light on this? Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message