From owner-freebsd-questions Fri Sep 4 15:26:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA16685 for freebsd-questions-outgoing; Fri, 4 Sep 1998 15:26:07 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA16679 for ; Fri, 4 Sep 1998 15:26:04 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.8/8.8.7) id PAA15826; Fri, 4 Sep 1998 15:22:59 -0700 (PDT) (envelope-from dhw) Date: Fri, 4 Sep 1998 15:22:59 -0700 (PDT) From: David Wolfskill Message-Id: <199809042222.PAA15826@pau-amma.whistle.com> To: jwb@cosmic.org, questions@FreeBSD.ORG Subject: Re: fbsd amd documentation? In-Reply-To: <19980904165656.23854@cosmic.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Fri, 4 Sep 1998 16:56:56 -0400 >From: Joseph Beiter >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