Find the answer to your Linux question:
Results 1 to 2 of 2
How to use mount system call to mount nfs exported file system. When I use mount call as mentioned below ,I am getting invalid arguments error. mount("7.80.201.232:/usr/test124", "/usr/test","nfs",MS_MGC_VAL,"rw,async") . If ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2004
    Posts
    1

    How to use mount system call to mount nfs exported file syst


    How to use mount system call to mount nfs exported file system. When I use mount call as mentioned below ,I am getting invalid arguments error.
    mount("7.80.201.232:/usr/test124", "/usr/test","nfs",MS_MGC_VAL,"rw,async") .
    If I use mount executable it works.
    mount -t nfs 7.80.201.232:/usr/test124 /usr/test .works

  2. #2
    Just Joined!
    Join Date
    Mar 2006
    Posts
    1
    i am too getting the same erro when i mount nfs thru mount but it works when
    i mount the local file system thru mount system call

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •