Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: clauberg@RRZK (Axel Clauberg)
Subject: Re: amd automounter for Alpha AXP
Date: 8 Jan 93 11:18:46	[thread overview]
Message-ID: <CLAUBERG.93Jan8111846@noc.RRZK> (raw)
In-Reply-To: henry@geo.ucalgary.ca's message of Thu, 7 Jan 1993 05:38:47 GMT

In article <HENRY.93Jan7003847@tuba.geo.ucalgary.ca> 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 <sys/socket.h> 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 <regexp.h>
+ #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


      reply	other threads:[~1993-01-08 16:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-01-07  5:38 amd automounter for Alpha AXP Henry Bland
1993-01-08 16:18 ` Axel Clauberg [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox