ben@cunixf.cc.columbia.edu (Ben Fried) (08/10/90)
I've had my SE chasing down this question on IBM's internal support system for about a week now, and with no luck. Maybe someone here knows - what is the syntax of the nfs_mount() system call? How do I use it (or something else) to mount nfs file systems? There is NO DOCUMENTATION on this in the manuals that my SE gave me. Does anyone from Locus know? I'm really desperate! Ben -- Benjamin Fried ben@cunixf.cc.columbia.edu rutgers!columbia!ben
richard@locus.com (Richard M. Mathews) (08/11/90)
ben@cunixf.cc.columbia.edu (Ben Fried) writes: >I've had my SE chasing down this question on IBM's internal support >system for about a week now, and with no luck. Maybe someone here knows >- what is the syntax of the nfs_mount() system call? How do I use it >(or something else) to mount nfs file systems? There is NO >DOCUMENTATION on this in the manuals that my SE gave me. >Does anyone from Locus know? I'm really desperate! I can't find it in the manual either (but I have an outdated version, and I don't know if it's a complete set). I'm not an NFS expert, but I can tell you the arguments the system call expects: nfs_mount(char *directory, struct nfs_args *args, int read_only); You will find struct nfs_args defined in /usr/include/sys/nfs.h. I imagine that it is quite possible that you are better off invoking the mount command, so you get all of the bells and whistles it provides. This would include things like writing an entry to /local/mtab. Disclaimer: I don't speak for Locus, and I may not know what I'm talking about anyway:-) Richard M. Mathews Locus Computing Corporation richard@locus.com lcc!richard@ucla-se.ucla.edu