AIX 1.2 nfs_mount(2) documentation?

Richard M. Mathews richard at locus.com
Sat Aug 11 11:33:48 AEST 1990


ben at 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 at locus.com
lcc!richard at ucla-se.ucla.edu



More information about the Comp.unix.aix mailing list