Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 1998 15:22:59 -0700 (PDT)
From:      David Wolfskill <dhw@whistle.com>
To:        jwb@cosmic.org, questions@FreeBSD.ORG
Subject:   Re: fbsd amd documentation?
Message-ID:  <199809042222.PAA15826@pau-amma.whistle.com>
In-Reply-To: <19980904165656.23854@cosmic.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Fri, 4 Sep 1998 16:56:56 -0400
>From: Joseph Beiter <jwb@cosmic.org>

>Is there any documentation on how to write an amd.map file? The man page
>is very little help and freebsd's implemntation of automounter doesn't
>look very much like linux or solaris' implementation.

It's *not* Sun's (Solaris) implementation (dunno about Linux); its amd,
as documented in Jean-Simon Pendry's paper, a copy of which may be found
in the SMM (at least, in the O'Reilly copy I have), as well as at
http://www.netbsd.org/Documentation/bsd/amdref.html.

>How do you set up amd to work with YP? 

Well, I ended up hacking /etc/rc.{conf,network} a little.  (Yes, I did a
send-pr; the first set of changes was committed; I don't think the
second -- once I realized the problems with the Bourne shell's
expansion of the

	`cmd0 | cmd1`

construct in FreeBSD -- have yet been commited.)

The changes were based on the suggestions in Jean-Simon's paper --
basically, I created an "amd.master" NIS map, and set up the amd
start-up command to (effectively) issue something of the form

	amd [various arguments go here...] `ypcat -k amd.master`


The PR was conf/6387, closed by phk on Sat Apr 25 23:32:20 PDT 1998.

>Any help is appreciated. I'm kinda at a loss on where to start.

I can send you copies or excerpts of maps that we use; I doubt they'd be
of sufficient interest or value to spam the entire list with 'em.

david
-- 
David Wolfskill		UNIX System Administrator
dhw@whistle.com		voice: (650) 577-7158	pager: (650) 371-4621

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?199809042222.PAA15826>