home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / osf / osf1 / 49 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  3.3 KB

  1. 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
  2. From: clauberg@RRZK (Axel Clauberg)
  3. Newsgroups: comp.unix.osf.osf1
  4. Subject: Re: amd automounter for Alpha AXP
  5. Date: 8 Jan 93 11:18:46
  6. Organization: Regional Computing Center, University of Cologne, Germany
  7. Lines: 81
  8. Message-ID: <CLAUBERG.93Jan8111846@noc.RRZK>
  9. References: <HENRY.93Jan7003847@tuba.geo.ucalgary.ca>
  10. NNTP-Posting-Host: noc.rrz.uni-koeln.de
  11. In-reply-to: henry@geo.ucalgary.ca's message of Thu, 7 Jan 1993 05:38:47 GMT
  12.  
  13. In article <HENRY.93Jan7003847@tuba.geo.ucalgary.ca> henry@geo.ucalgary.ca (Henry Bland) writes:
  14. >   Has anyone managed to get "amd" (a replacement for "automount") to
  15. >   work on DEC Alphas running OSF1 ?
  16. Yes, I did. Here is a copy of the patches I've sent out to the amd-workers
  17. list on Dec, 28:
  18. From: clauberg (Axel Clauberg)
  19. Date: Mon, 28 Dec 1992 12:54:52 +0100
  20. To: amd-workers@acl.lanl.gov
  21. Subject: amd patches for DEC Alpha OSF/1
  22.  
  23. Hi,
  24. here are the basic patches to make amd work (at least for me...) on the 
  25. DEC Alpha under DEC OSF/1 (we currently run T1.2-2  (Rev. 5)).
  26. Besides the mount trap, the most important definition is the _SOCKADDR_LEN,
  27. else <sys/socket.h> will give you (unwanted) 4.3 compatibility, this will
  28. break amd's nfs auto mount calls (and wire.c compilation).
  29. I haven't worked on the OSF/1 rfs@rhost syntax problems Mike Kiernan reported
  30. on Nov, 23, as these don't hit us.
  31. The patches are against the 240892 version.
  32.  
  33. *** /vol/src/share/local/amd240892/Makefile.top    Sun May 31 18:37:20 1992
  34. --- Makefile.top    Mon Dec 28 12:16:25 1992
  35. ***************
  36. *** 59,65 ****
  37.   
  38.   OS_SUPPORTED = \
  39.       acis43 aix3 aux bsd44 concentrix dgux fpx4 hcx \
  40. !     hlh42 hpux irix3 irix4 next pyrOSx riscix sos3 sos4 \
  41.       stellix u2_2 u3_0 u4_0 u4_2 umax43 utek utx32 xinu43
  42.   CHECK_OS = \
  43.       case " ${OS_SUPPORTED} " in *" $${OS} "*) ;; \
  44. --- 59,65 ----
  45.   
  46.   OS_SUPPORTED = \
  47.       acis43 aix3 aux bsd44 concentrix dgux fpx4 hcx \
  48. !     hlh42 hpux irix3 irix4 next osf1 pyrOSx riscix sos3 sos4 \
  49.       stellix u2_2 u3_0 u4_0 u4_2 umax43 utek utx32 xinu43
  50.   CHECK_OS = \
  51.       case " ${OS_SUPPORTED} " in *" $${OS} "*) ;; \
  52. *** /vol/src/share/local/amd240892/config/os-type    Sun May 31 18:45:41 1992
  53. --- config/os-type    Mon Dec 28 12:07:36 1992
  54. ***************
  55. *** 60,65 ****
  56. --- 60,66 ----
  57.   *"Ultrix Worksystem V2."*)    OS=u3_0;;
  58.   *"ULTRIX V4.2"*)        OS=u4_2;;
  59.   *"ULTRIX V4."*)            OS=u4_0;;
  60. + *"OSF/1"*)            OS=osf1;;
  61.   *"HLH OTS Version 1."*)        OS=hlh42;;
  62.   *"RISC iX release 1."*)        OS=riscix;;
  63.   *"FPX 4."*)            OS=fpx4;;
  64. *** /vol/src/share/local/amd240892/config/os-osf1.h    Sun Feb  9 16:10:15 1992
  65. --- config/os-osf1.h    Mon Dec 28 12:35:20 1992
  66. ***************
  67. *** 153,157 ****
  68. --- 153,164 ----
  69.   /*
  70.    * 4.4 has RE support built in
  71.    */
  72. + #ifndef __alpha
  73.   #undef RE_HDR
  74.   #define RE_HDR <regexp.h>
  75. + #else
  76. + #define _SOCKADDR_LEN
  77. + #define  _BSD 44
  78. + #define MOUNT_TRAP(type, mnt, flags, mnt_data) \
  79. +         mount(type, mnt->mnt_dir, flags, mnt_data)
  80. + #endif
  81.  
  82. Best regards, Axel
  83.  
  84.  
  85.  
  86.  
  87. --
  88. Axel Clauberg,    Regional Computing Center, University of Cologne
  89.                   Robert-Koch Str. 10, D- 5000 Koeln 41, Germany
  90.                   Phone:    +49 (221) 478-5589
  91.                   FAX:      +49 (221) 478-5590
  92.                   Internet: clauberg@rrz.Uni-Koeln.DE
  93.           X.400: s=clauberg; ou=rrz; p=uni-koeln; a=dbp; c=de
  94.