Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!VIRGO.MATH.TAU.AC.IL!mosh From: mosh@VIRGO.MATH.TAU.AC.IL (Moshe Shemesh) Newsgroups: comp.sys.sgi Subject: Doing NFS mounts from within C program under IRIX 3.3.1 Keywords: NFS, mount, IRIX 3.3.1 Message-ID: <2140@ccsg.tau.ac.il> Date: 28 May 91 16:37:33 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: comp Organization: Tel-Aviv University Math and CS School, Israel Lines: 37 Hi netlanders, I am trying to write a simple program C program under IRIX 3.3.1 which needs to do an NFS mount to a remote file system. The problem is that the man page of the mount system call (assuming this is the system I should use) doesn't mention how this should be done. It only deals with UFS alone although it hints that this should be the right system call. It has two optional arguments called data and datalen but there is no reference for them in the man page. Does any of you know how should I do it? My main problem is that I don't know what parameters should I pass to the mount (2) system call assuming it is the right system call to use. I am quite familiar with RPC / XDR stuff So you can mention their details in your answer. I am not considering: system("mount host:/dir /localdir") as an answer. (I got this answer from SGI representatives in ISRAEL. No, it wasn't their idea. It came from SGI - USA). You can e-mail me directly or answer in this newsgroup. Thanks in advance Moshe Shemesh Tel-Aviv University School of Mathematics Tel-Aviv ISRAEL e-mail: INTERNET: mosh@math.tau.ac.il BITNET: mosh@taurus.BITNET