⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nfsdrv.html

📁 Vxworks API操作系统和驱动程序设计API。压缩的HTML文件
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</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.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>nfsMount(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>nfsMount(&nbsp;)</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 fileSystem 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><a href="./hostLib.html#hostAdd">hostAdd</a>(&nbsp;)</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><a href="./nfsDrv.html#nfsUnmount">nfsUnmount</a>(&nbsp;)</b>, <b><a href="./hostLib.html#hostAdd">hostAdd</a>(&nbsp;)</b><hr><a name="nfsMountAll"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>nfsMountAll(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>nfsMountAll(&nbsp;)</strong> - mount all file systems exported by a specified host</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS nfsMountAll    (    char * pHostName,         /* name of remote host */    char * pClientName,       /* name of a client specified in access */                              /* list, if any */     BOOL   quietFlag          /* FALSE = print name of each mounted file */                              /* system */     )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine mounts the file systems exported by the host <i>pHostName</i>which are accessible by <i>pClientName</i>. A <i>pClientName</i> entry of NULLwill only mount file systems that are accessible by any client. The <b><a href="./nfsDrv.html#nfsMount">nfsMount</a>(&nbsp;)</b> routine is called to mount each file system. It createsa local device for each mount that has the same name as the remote filesystem.<p>If the <i>quietFlag</i> setting is FALSE, each file system is printed onstandard output after it is mounted successfully.<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><a href="./nfsDrv.html#nfsMount">nfsMount</a>(&nbsp;)</b><hr><a name="nfsDevShow"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>nfsDevShow(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>nfsDevShow(&nbsp;)</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>    -&gt; 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.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>nfsUnmount(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>nfsUnmount(&nbsp;)</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><a href="./nfsDrv.html#nfsMount">nfsMount</a>(&nbsp;)</b><hr><a name="nfsDevListGet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>nfsDevListGet(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>nfsDevListGet(&nbsp;)</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><a href="./nfsDrv.html#nfsDevInfoGet">nfsDevInfoGet</a>(&nbsp;)</b><hr><a name="nfsDevInfoGet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>nfsDevInfoGet(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>nfsDevInfoGet(&nbsp;)</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>. The calling function should allocate memory for <i>pnfsInfo</i> and for the two character buffers,<b>remFileSys</b> and <b>locFileSys</b>, that are part of <i>pnfsInfo</i>. These buffers should have a size of <b>nfsMaxPath</b>.<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><a href="./nfsDrv.html#nfsDevListGet">nfsDevListGet</a>(&nbsp;)</b></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -