From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cea1276b982edc13 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-01-08 02:38:59 PST Path: sparky!uunet!gatech!darwin.sura.net!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!unidui!rrz.uni-koeln.de!news.rrz.uni-koeln.de!clauberg From: clauberg@RRZK (Axel Clauberg) Newsgroups: comp.unix.osf.osf1 Subject: Re: amd automounter for Alpha AXP Date: 8 Jan 93 11:18:46 Organization: Regional Computing Center, University of Cologne, Germany Message-ID: References: NNTP-Posting-Host: noc.rrz.uni-koeln.de In-reply-to: henry@geo.ucalgary.ca's message of Thu, 7 Jan 1993 05:38:47 GMT In article henry@geo.ucalgary.ca (Henry Bland) writes: > Has anyone managed to get "amd" (a replacement for "automount") to > work on DEC Alphas running OSF1 ? Yes, I did. Here is a copy of the patches I've sent out to the amd-workers list on Dec, 28: From: clauberg (Axel Clauberg) Date: Mon, 28 Dec 1992 12:54:52 +0100 To: amd-workers@acl.lanl.gov Subject: amd patches for DEC Alpha OSF/1 Hi, here are the basic patches to make amd work (at least for me...) on the DEC Alpha under DEC OSF/1 (we currently run T1.2-2 (Rev. 5)). Besides the mount trap, the most important definition is the _SOCKADDR_LEN, else will give you (unwanted) 4.3 compatibility, this will break amd's nfs auto mount calls (and wire.c compilation). I haven't worked on the OSF/1 rfs@rhost syntax problems Mike Kiernan reported on Nov, 23, as these don't hit us. The patches are against the 240892 version. *** /vol/src/share/local/amd240892/Makefile.top Sun May 31 18:37:20 1992 --- Makefile.top Mon Dec 28 12:16:25 1992 *************** *** 59,65 **** OS_SUPPORTED = \ acis43 aix3 aux bsd44 concentrix dgux fpx4 hcx \ ! hlh42 hpux irix3 irix4 next pyrOSx riscix sos3 sos4 \ stellix u2_2 u3_0 u4_0 u4_2 umax43 utek utx32 xinu43 CHECK_OS = \ case " ${OS_SUPPORTED} " in *" $${OS} "*) ;; \ --- 59,65 ---- OS_SUPPORTED = \ acis43 aix3 aux bsd44 concentrix dgux fpx4 hcx \ ! hlh42 hpux irix3 irix4 next osf1 pyrOSx riscix sos3 sos4 \ stellix u2_2 u3_0 u4_0 u4_2 umax43 utek utx32 xinu43 CHECK_OS = \ case " ${OS_SUPPORTED} " in *" $${OS} "*) ;; \ *** /vol/src/share/local/amd240892/config/os-type Sun May 31 18:45:41 1992 --- config/os-type Mon Dec 28 12:07:36 1992 *************** *** 60,65 **** --- 60,66 ---- *"Ultrix Worksystem V2."*) OS=u3_0;; *"ULTRIX V4.2"*) OS=u4_2;; *"ULTRIX V4."*) OS=u4_0;; + *"OSF/1"*) OS=osf1;; *"HLH OTS Version 1."*) OS=hlh42;; *"RISC iX release 1."*) OS=riscix;; *"FPX 4."*) OS=fpx4;; *** /vol/src/share/local/amd240892/config/os-osf1.h Sun Feb 9 16:10:15 1992 --- config/os-osf1.h Mon Dec 28 12:35:20 1992 *************** *** 153,157 **** --- 153,164 ---- /* * 4.4 has RE support built in */ + #ifndef __alpha #undef RE_HDR #define RE_HDR + #else + #define _SOCKADDR_LEN + #define _BSD 44 + #define MOUNT_TRAP(type, mnt, flags, mnt_data) \ + mount(type, mnt->mnt_dir, flags, mnt_data) + #endif Best regards, Axel -- Axel Clauberg, Regional Computing Center, University of Cologne Robert-Koch Str. 10, D- 5000 Koeln 41, Germany Phone: +49 (221) 478-5589 FAX: +49 (221) 478-5590 Internet: clauberg@rrz.Uni-Koeln.DE X.400: s=clauberg; ou=rrz; p=uni-koeln; a=dbp; c=de