-*- Indented-Text -*- This is afpmount, a program that mounts itself as a user-mode NFS server, and translates NFS requests from user processes (coming in via the local kernel) into AFP (AppleTalk Filing Protocol) calls to an AFP server. The program uses the AFP interface provided by the CAP 6.0 (Columbia Appletalk Package) libraries. You must first install CAP before this program is of any use to you. Don't ask me for advice in installing CAP. Included is also the program "nfstrace" which is useful by itself. It can be used to trace the RPC calls the local kernel makes to an NFS-mounted file system, and the returned values. I wouldn't have been able to write this without looking at: - The "unfsd" user-level NFS daemon, by Mark Shand, posted to comp.sources.unix Volume 15 Issues 1 and 2 in May 88. - The 4.3BSD Net2 "mount.c" program. - Various parts of CAP 6.0, obviously. Installing should be obvious, ie: * unpack the archive * edit Makefile as needed * make depend, if you have makedepend * make I have compiled (both ANSI and non-ANSI mode) and run it on HP-UX 8.07 and 9.01. I have compiled (both cc and gcc) and linked it on SunOS 4.1.3, but not run, as we don't run CAP on that machine. Please send me any bug fixes, enhancements, and changes necessary to build and run it on other systems (context diffs). If possible, don't use "#ifdef sun" etc, but use more specific identifiers to pinpoint what feature needs the ifdef (#ifdef HAVE_SOMETHING). I am not going to apply patches that sprinkle the code with ifdefs just to change strchr to index, memcpy to bcopy etc. Instead, if your system really don't have the ANSI C functions in any library, get them. Cheers, tml@hemuli.tte.vtt.fi Tor Lillqvist Technical Research Centre of Finland Information Technology Institute