📄 nfsdrv.html
字号:
<hr><a name="nfsDrvNumGet"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>nfsDrvNumGet</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>nfsDrvNumGet</i>( )</strong> - return the IO system driver number for the nfs driver</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int nfsDrvNumGet (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the nfs driver number allocated by iosDrvInstall duringthe nfs driver initialization. If the nfs driver has yet to be initialized,or if initialization failed, nfsDrvNumGet will return ERROR.<p></blockquote><h4>RETURNS</h4><blockquote><p>the nfs driver number or ERROR</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./nfsDrv.html#top">nfsDrv</a></b><hr><a name="nfsMount"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>nfsMount</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>nfsMount</i>( )</strong> - mount an NFS file system</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS nfsMount ( char * host, /* name of remote host */ char * fileSystem, /* name of remote directory to mount */ char * localName /* local device name for remote dir (NULL = use */ /* name) */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine mounts a remote file system. It creates alocal device <i>localName</i> for a remote file system on a specified host.The host must have already been added to the local host table with<b><i><a href="./hostLib.html#hostAdd">hostAdd</a></i>( )</b>. If <i>localName</i> is NULL, the local name will be the same asthe remote name.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the driver is not installed,<i>host</i> is invalid, or memory is insufficient.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./nfsDrv.html#top">nfsDrv</a></b>, <b><i><a href="./nfsDrv.html#nfsUnmount">nfsUnmount</a></i>( )</b>, <b><i><a href="./hostLib.html#hostAdd">hostAdd</a></i>( )</b><hr><a name="nfsMountAll"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>nfsMountAll</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>nfsMountAll</i>( )</strong> - mount all file systems exported by a specified host</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS nfsMountAll ( char * host, /* name of remote host */ char * clientName, /* name of client specified in access list */ BOOL quiet /* FALSE = print names of file systems mounted */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine mounts the file systems exported by <i>host</i> which are markedas accessible either by all clients or only by <i>clientName</i>. The <b><i><a href="./nfsDrv.html#nfsMount">nfsMount</a></i>( )</b>routine is called to mount each file system. This creates a local devicefor each mounted file system that has the same name as the file system.<p>The file systems are listed to standard output as they are mounted.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if any mount fails.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./nfsDrv.html#top">nfsDrv</a></b>, <b><i><a href="./nfsDrv.html#nfsMount">nfsMount</a></i>( )</b><hr><a name="nfsDevShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>nfsDevShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>nfsDevShow</i>( )</strong> - display the mounted NFS devices</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void nfsDevShow (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays the device names and their associated NFS file systems.<p></blockquote><h4>EXAMPLE</h4><blockquote><p><p><pre> -> nfsDevShow device name file system ----------- ----------- /yuba1/ yuba:/yuba1 /wrs1/ wrs:/wrs1</pre></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./nfsDrv.html#top">nfsDrv</a></b><hr><a name="nfsUnmount"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>nfsUnmount</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>nfsUnmount</i>( )</strong> - unmount an NFS device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS nfsUnmount ( char * localName /* local of nfs device */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine unmounts file systems that were previously mounted via NFS.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if <i>localName</i> is not an NFS device or cannotbe mounted.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./nfsDrv.html#top">nfsDrv</a></b>, <b><i><a href="./nfsDrv.html#nfsMount">nfsMount</a></i>( )</b><hr><a name="nfsDevListGet"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>nfsDevListGet</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>nfsDevListGet</i>( )</strong> - create list of all the NFS devices in the system</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int nfsDevListGet ( unsigned long nfsDevList[], /* NFS dev list of handles */ int listSize /* number of elements available in the list */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine fills the array <i>nfsDevlist</i> up to <i>listSize</i>, with handles toNFS devices currently in the system.<p></blockquote><h4>RETURNS</h4><blockquote><p>The number of entries filled in the <i>nfsDevList</i> array.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./nfsDrv.html#top">nfsDrv</a></b>, <b><i><a href="./nfsDrv.html#nfsDevInfoGet">nfsDevInfoGet</a></i>( )</b><hr><a name="nfsDevInfoGet"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>nfsDevInfoGet</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>nfsDevInfoGet</i>( )</strong> - read configuration information from the requested NFS device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS nfsDevInfoGet ( unsigned long nfsDevHandle, /* NFS device handle */ NFS_DEV_INFO * pnfsInfo /* ptr to struct to hold config info */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine accesses the NFS device specified in the parameter <i>nfsDevHandle</i>and fills in the structure pointed to by <i>pnfsInfo</i>.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK if <i>pnfsInfo</i> information is valid, otherwise ERROR.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./nfsDrv.html#top">nfsDrv</a></b>, <b><i><a href="./nfsDrv.html#nfsDevListGet">nfsDevListGet</a></i>( )</b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -