Does any body know, ho I can mount npm-qnet.so in a mount() system call?
I tried
mount ( “/lib/dll/npm-qnet.so”,NULL,0, “io-net”,NULL,0);
and also with some options, like
mount ("/lib/dll/npm-qnet.so",NULL,0,“io-net”, “host=myname”,-1);
but I always get an error: ‘Invalid argument’.
How does the ‘mount’-utility call mount()?
I just want to do something like:
mount -Tio-net -ohost=myname /lib/dll/npm-qnet.so
Any ideas?
TIA,
Karsten.
cdm
September 23, 2003, 4:04pm
2
ret = mount( device, “/”, _MFLAG_OCB, “io-net”, options, -1 );
Where device is the shared library you are trying to mount. You can see working code that uses this in the eqip/services/eqip-expack/pcmcica.c file on eqip.sf.net .
Works great, thanks!
I’ll recommend QSSL, to put an example into their docs …
cdm
September 25, 2003, 6:18am
4
hahaha…yeah. I will make sure we put something in if it doesn’t show up.
At least I got a positive answer on my suggestion … I’ll take that as a good sign