Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2001 12:40:25 +0100
From:      "Jim Hatfield" <freebsd-questions-local@insignia.com>
To:        freebsd-questions@freebsd.org
Subject:   Equivalent to automount direct maps in amd?
Message-ID:  <9elgb5$dtv$1@wolf.isltd.insignia.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9elgb5$dtv$1>