From owner-freebsd-questions Fri Nov 13 11:04:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA15967 for freebsd-questions-outgoing; Fri, 13 Nov 1998 11:04:05 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from xylan.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA15907 for ; Fri, 13 Nov 1998 11:03:57 -0800 (PST) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com by xylan.com (8.8.7/SMI-SVR4 (xylan-mgw 2.2 [OUT])) id LAA13852; Fri, 13 Nov 1998 11:02:05 -0800 (PST) Received: from utah.XYLAN.COM by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id LAA04193; Fri, 13 Nov 1998 11:01:50 -0800 Received: from softweyr.com by utah.XYLAN.COM (SMI-8.6/SMI-SVR4 (xylan utah [SPOOL])) id MAA13920; Fri, 13 Nov 1998 12:01:48 -0700 Message-ID: <364C821C.575D8D7C@softweyr.com> Date: Fri, 13 Nov 1998 12:01:48 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 2.2.6-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Scott Mitchell CC: Rob Snow , David Wolfskill , questions@FreeBSD.ORG Subject: Re: What happenend to amd? References: <199811130116.RAA00171@pau-amma.whistle.com> <364BC766.14E40519@lgc.com> <19981113092520.E20936@dcs.qmw.ac.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Scott Mitchell wrote: > > The developers realised what they had spawned, and crept off to live in a > cave on a mountain somewhere :) The manpage has it exactly right when it > says: > > "A weird imagination is most useful to gain full advantage of all the > features." I once had the unenviable job of writing a Sun-style automount map parser. We had a program that was supposed to be able to check files in user's home directories, and only check the ones that were actually hosted on THIS machine, to avoid automount storms. My first cut worked no-so-well, but then we had a new guy, a friend of mine from college, come to work for us. I pushed the job off onto him, and he finished it in an amazing 11 months. Ugh. > Still, it does the job admirably well: here we have several hundred > machines, 5 different OSes, all automounting madly from a mixed bag of > FreeBSD/SunOS/Solaris servers. I've only ever seen it die due to pilot > error, which is more than you can say for Sun's efforts in the same line. Good, then you can take a swing at answer this. First, the amd command: amd -p -k i386 -l syslog /home /etc/amd.home /home is (of course) where our home directories need to show up. The /etc/amd.home map looks like: /defaults type:=nfs;sublink:=${key};opts:=rw,intr,grpid jer rhost:=thrallo;rfs:=/export/home/jer wpeters rhost:=salty;rfs:=/export/home/wpeters Now when I try to login to one of these accounts, or just cd to their home directory, I get: bash-2.01# cd ~jer bash: cd: /home/jer: No such file or directory But mount shows: bash-2.01# mount /dev/sd0s2a on / (local) /dev/sd0s2f on /usr (local) /dev/sd0s2e on /var (local) procfs on /proc (local) amd:2372 on /home thrallo:/export/home/jer on /a/thrallo/export/home/jer and the following filesystem entries: bash-2.01# ls -l /home total 1 lrwxrwxrwx 1 root wheel 30 Nov 13 11:32 jer -> /a/thrallo/export/home/jer/jer and /a/thrallo/export/home/jer is mounted and readable. So, what's up? Have I hosed the configuration somehow? -- Where am I, and what am I doing in this handbasket? Wes Peters +1.801.915.2061 Softweyr LLC wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message