Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 03:52:50 +0300 (EEST)
From:      Evren Yurtesen <yurtesen@ispro.net.tr>
To:        Dima Dorfman <dima@unixfreak.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re:2 amd question
Message-ID:  <Pine.BSF.4.21.0007280345170.9910-100000@finland.ispro.net.tr>
In-Reply-To: <20000728000841.668121F1E@static.unixfreak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry I think I wasnt clear enough on my question.
I have a nfs client and I want it to mount /usr/local/bin from
the nfs server. I will not write anything to the mounted location
in the client. But I would like to have the other directories in
the /usr/local after amd mounts /usr/local/bin too.

Also I have another problem now. I have a map file in the client
which works perfectly. I want to use the map file from a NIS server
when I copy the map file to server and create the required database
files, set the amd.conf to use nis in the client then run the amd in the
client again. The client tries to mount the directory from itself not
from the rhost defined in the amd map file which is in the nis server. But
with the same file without nis. The client is able to mount the location
from the right server. I couldnt quite find what I am doing wrong.

Evren

On Thu, 27 Jul 2000, Dima Dorfman wrote:

> > when I define a map to export /usr/local/bin directory in the amd.conf
> > file and then run the 'amd' I see that all the contents of the /usr/local
> > directory is lost and there is only 'bin' inside there.
> 
> I'm not sure exactly what you're trying to do here.  amd is not used
> to *export* filesystems.  amd mounts filesystems from remote NFS
> servers as they are referenced.  Maybe you're looking for exports(5)?
> 
> > How can I overcome this problem? I want to export the bin directory to
> > other servers.
> 
> The problem you're seeing comes from the fact that you set up an
> indirect map mounted on /usr/local.  Since amd emulates the entire
> directory, no user, not even the superuser, can create entires in it.
> 
> If you are trying to set up the machine in question as an NFS
> *server*, you should be looking at exports(5) and nfsd(8) rather than
> amd (unless this machine is also an NFS client).
> 
> Hope this helps
> 
> dima
> 
> > 
> > Thanks
> > 
> > Evren
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> 
> 
> -- 
> Dima Dorfman <dima@unixfreak.org> - Enriched/HTML messages > /dev/null
> PGP Fingerprint: CC 2A DD 54 12 85 7D 8B  B3 CE B3 10 9C BE D5 69
> Finger dima@unixfreak.org for public PGP key.
> 
> "It's been said that there is no problem that cannot be solved by a
> suitable application of high explosives.  Now if I can only figure out
> how to send them via e-mail ..."
> 	-- Vince Sabio
> 



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?Pine.BSF.4.21.0007280345170.9910-100000>