From owner-freebsd-questions Wed Mar 29 23:25:29 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA17707 for questions-outgoing; Wed, 29 Mar 1995 23:25:29 -0800 Received: from faui45.informatik.uni-erlangen.de (root@faui45.informatik.uni-erlangen.de [131.188.2.45]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id XAA17701 for ; Wed, 29 Mar 1995 23:25:22 -0800 Received: from behaim.faps.uni-erlangen.de by uni-erlangen.de with SMTP; id AA18981 (5.65c-6/7.3w-FAU); Thu, 30 Mar 1995 09:21:27 +0200 Received: from riese.faps.uni-erlangen.de by faps.uni-erlangen.de with SMTP; id AA00658 (1.38.193.4/7.3s-FAU); Thu, 30 Mar 1995 09:22:05 +0200 From: Thomas Krebs Message-Id: <9503300722.AA00658@behaim.faps.uni-erlangen.de> Subject: Re: Problems with NIS and amd To: kelly@fsl.noaa.gov (Sean Kelly) (Sean Kelly) Date: Thu, 30 Mar 95 9:20:42 MESZ Cc: krebs@faps.uni-erlangen.de, questions@FreeBSD.org In-Reply-To: <9503292100.AA15902@junco.fsl.noaa.gov>; from "Sean Kelly" at Mar 29, 95 2:00 pm Mailer: Elm [revision: 70.85] Sender: questions-owner@FreeBSD.org Precedence: bulk > > >>>>> "Thomas" == Thomas Krebs writes: > > >> ypcat hosts | fgrep riese > Thomas> 131.188.254.80 riese RIESE ... > >> ypmatch riese hosts > Thomas> Can't match key riese in map hosts.byaddr. > ^^^^^^ > That's the problem. Try: > > ypmatch riese hosts.byname > > Now here's MY question: why is `hosts' the nickname for `hosts.byaddr' > and NOT `hosts.byname'? > OK, ypmatch riese hosts.byname works. But why does ypmatch riese hosts work on HPUX?? But the next question now is: How to start amd to mount every possible host under /vhe that can be found in hosts.byname?? I'm trying with amd -a /tmp_mnt -l syslog -x all /vhe hosts.byname but I get the following: Mar 30 09:09:53 mosaic amd[465]: file server localhost type local starts up Mar 30 09:09:53 mosaic amd[465]: Trying mount of hosts.byname on /vhe fstype toplvl Mar 30 09:09:53 mosaic amd[466]: defeating nfs window computation Mar 30 09:09:53 mosaic amd[465]: hosts.byname mounted fstype toplvl on /vhe Mar 30 09:10:09 mosaic amd[465]: key riese: No value component in "131.188.254.80" Mar 30 09:10:09 mosaic amd[465]: key riese: No value component in "131.188.254.80" Mar 30 09:10:09 mosaic amd[465]: No fs type specified (key = "riese", map = "hosts.byname") Mar 30 09:10:09 mosaic amd[465]: No fs type specified (key = "riese", map = "hosts.byname") Mar 30 09:10:09 mosaic amd[465]: Map entry 131.188.254.80 for /vhe/riese failed to match Mar 30 09:10:09 mosaic amd[465]: key riese: No value component in "riese" Mar 30 09:10:09 mosaic amd[465]: key riese: No value component in "riese" Mar 30 09:10:09 mosaic amd[465]: No fs type specified (key = "riese", map = "hosts.byname") Mar 30 09:10:09 mosaic amd[465]: No fs type specified (key = "riese", map = "hosts.byname") Mar 30 09:10:09 mosaic amd[465]: Map entry riese for /vhe/riese failed to match Mar 30 09:10:09 mosaic amd[465]: key riese: No value component in "RIESE" Mar 30 09:10:09 mosaic amd[465]: key riese: No value component in "RIESE" Mar 30 09:10:09 mosaic amd[465]: No fs type specified (key = "riese", map = "hosts.byname") Mar 30 09:10:09 mosaic amd[465]: No fs type specified (key = "riese", map = "hosts.byname") Mar 30 09:10:09 mosaic amd[465]: Map entry RIESE for /vhe/riese failed to match Can't I use the hosts.byname map for amd as we do for the HPUX automounter (there we use simply hosts) or am I missing something else? Thomas -- Thomas Krebs Department for Manufacturing Automation and Production Systems FAPS University of Erlangen Egerlandstr. 7-9 91058 Erlangen Tel.: +49 (0)9131/85-8740 Fax: +49 (0)9131/302528 http://www.faps.uni-erlangen.de:1200/persons/krebs.html