nfsmount in AIX and HPUX using C
Hi All,
Is it possible to do nfsmount using c or c++ in linux,aix and hpux platform... I have used nfsmount.c file from sourceforge for linux nfsmounting but what to do For AIX and HPUX ? Means form aix client and linux/hpux server...if anyone had done that before then please help me...with some samplecode. thanx |
Quote:
If you've got C code already to do NFS mounting, you'll have to port it over to AIX and/or HPUX. Once you do that, you can re-submit your changes to the original author at Sourceforge, and help out everyone in the community. |
nfsmount in linux
I am not getting any errors in linux(RHEL4,RHEL5,FC5)..means using that i can do nfs mount with any unix based os successfully.
But i want to do that from aix and/or hpux machine to other unix based machine...means my code should get compiled in aix5.3 and hpux also, so that by using that executable (as like mount command)i can do nfs mount. I dont want to use any command for that,instead i want to use some system calls. In aix vmount() function is there but it is not doing the same for me. If possible then help me to do that. thanx |
Quote:
|
I dont have any problems in LINUX and as you said i port my code in AIX ..after some modification it get compiled.But it is not mounting the host directory.
It is returning vmount:error 22 Invalid Arguments Again if i am changing some parameters then it is mounting local directory<if the local directory is present> So if you know , how to do that then please help me out. Thanx |
Quote:
|
All times are GMT -5. The time now is 04:16 AM. |