Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!dutrun!dutlru1!ge From: ge@dutlru1.tudelft.nl (Ge van Geldorp) Newsgroups: comp.unix.aix Subject: NFS mounting from within program (AIX 1.2) Keywords: NFS, nfs_mount Message-ID: <1990Oct4.213654.10663@dutlru1.tudelft.nl> Date: 4 Oct 90 21:36:54 GMT Organization: Delft Univ. of Technology, Fac. of Aerospace Engineering Lines: 13 How do I mount a remote NFS filesystem from within a program? I know I have to talk to the remote rpc.mountd first, then setup a nfs_args structure which should be passed to some system call. Peeking through libc.a, I found a nfs_mount() routine, but I could not find a single reference to this routine in the docs. What arguments does it take? I am not interested in solutions doing something like system("mount..."), I need to duplicate the functionality of the mount command in my own program. BTW, this is AIX PS/2 1.2 Ge van Geldorp ge@dutlru2.tudelft.nl ...!uunet!hp4nl!dutlru2.tudelft.nl!ge