亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? c-filesys7.html

?? this about vxworks operations systems
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    Local File Systems   </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-filesys.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-filesys6.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-wfc.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="87252">4.7  &nbsp;&nbsp;The Target Server File System: TSFS</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="87254"> </a>The Target Server File System (TSFS) is a full-featured VxWorks file system, but the files operated on by using the file system are actually located on the host. TSFS uses a WDB driver to transfer requests from the I/O system to the target server. The target server reads the request and executes it using the host file system. Thus when you open a file with TSFS, the file being opened is actually on the host. Future <b class="routine"><i class="routine">read</i></b><b>(&nbsp;)</b> and <b class="routine"><i class="routine">write</i></b><b>(&nbsp;)</b> calls on the file descriptor obtained from the <b class="routine"><i class="routine">open</i></b><b>(&nbsp;)</b> call actually read from and write to the opened host file.</p><dd><p class="Body"><a name="87255"> </a>The TSFS VIO driver is oriented toward file I/O rather than toward console operations as is the Tornado 1.0 VIO driver. TSFS provides all the I/O features that <b class="library">netDrv</b> provides, without requiring any target resource beyond what is already configured to support communication between target and target server. It is possible to access host files randomly without copying the entire file to the target, to load an object module from a virtual file source, and to supply the file name to routines such as <b class="routine"><i class="routine">ld</i></b><b>(&nbsp;)</b>and <b class="routine"><i class="routine">copy</i></b><b>(&nbsp;)</b>. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="87256">How It Works</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="87257"> </a>Two steps are required to configure TSFS. First, TSFS must be included in your VxWorks image. This creates a new file system entry, <b class="file">/tgtsvr</b>. Then the target server must be configured for TSFS, which involves assigning a root directory on your host to TSFS. For example, you could set the TSFS root to <b class="file">c:\windview\logs</b>.</p><dd><p class="Body"><a name="87264"> </a>Having done this, opening the file <b class="file">/tgtsvr/eventLog.wvr</b> from the target causes <b class="file">c:\windview\logs\eventLog.wvr </b>to be opened on the host by the target server. A new file descriptor representing that file is returned to the caller on the target. </p><dd><p class="Body"><a name="87265"> </a>Each I/O request, including <b class="routine"><i class="routine">open</i></b><b>(&nbsp;)</b>, is synchronous; the calling target task is blocked until the operation is complete. This provides flow control not available in the console VIO implementation. In addition, there is no need for WTX protocol requests to be issued to associate the VIO channel with a particular host file; the information is contained in the name of the file. </p><dd><p class="Body"><a name="87266"> </a>Consider a <b class="routine"><i class="routine">read</i></b><b>(&nbsp;)</b> call. The driver transmits the ID of the file (previously established by an <b class="routine"><i class="routine">open</i></b><b>(&nbsp;)</b><b class="routine"><i class="routine"> </i></b>call), the address of the buffer to receive the file data, and the desired length of the read to the target server. The target server responds by issuing the equivalent <b class="routine"><i class="routine">read</i></b><b>(&nbsp;)</b> call on the host and transfers the data read to the target program. The return value of <b class="routine"><i class="routine">read</i></b><b>(&nbsp;)</b><b class="routine"><i class="routine"> </i></b>and any <b class="command">errno</b> that might arise are also relayed to the target, so that the file appears to be local in every way. For detailed information on the supported routines and ioctl requests, see the online reference for <b class="library">wdbTsfsDrv</b> under <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">VxWorks Reference Manual&gt;Libraries</font></b>. </p></dl></dl><dl class="margin"><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="87270">Socket Support</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="87272"> </a>TSFS sockets are operated on in a similar way to other TSFS files, using <b class="routine"><i class="routine">open</i></b><b>(&nbsp;)</b>, <b class="routine"><i class="routine">close</i></b><b>(&nbsp;)</b>, <b class="routine"><i class="routine">read</i></b><b>(&nbsp;)</b>, <b class="routine"><i class="routine">write</i></b><b>(&nbsp;)</b>, and <b class="routine"><i class="routine">ioctl</i></b><b>(&nbsp;)</b>. To open a TSFS socket use one of the following forms of filename:</p><dl class="margin"><dd><pre class="Code2"><b><a name="87273">"TCP:<i class="textVariable">hostIP</i>:<i class="textVariable">port</i>" "TCP:<i class="textVariable">hostname</i>:<i class="textVariable">port</i>"</a></b></pre></dl><dd><p class="Body"><a name="87274"> </a>The <i class="textVariable">flags</i> and <i class="textVariable">permissions</i> arguments are ignored. The following examples show how to use these filenames:</p><dl class="margin"><dd><pre class="Code2"><b><a name="87275">fd = open("/tgtsvr/TCP:phobos:6164"0,0)&nbsp;&nbsp;&nbsp;&nbsp;/* open socket and connect&nbsp;&nbsp;*/ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* to server phobos&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/  fd = open("/tgtsvr/TCP:150.50.50.50:6164",0,0)&nbsp;&nbsp;/* open socket and &nbsp;&nbsp;&nbsp;&nbsp;*/ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*connect to server &nbsp;&nbsp;&nbsp;*/ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* 150.50.50.50&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</a></b></pre></dl><dd><p class="Body"><a name="87276"> </a>The result of this <b class="routine"><i class="routine">open</i></b><b>(&nbsp;)</b> call is to open a TCP socket on the host and connect it to the target server socket at <i class="textVariable">hostname</i> or <i class="textVariable">hostIP</i> awaiting connections on <i class="textVariable">port</i>. The resultant socket is non-blocking. Use <b class="routine"><i class="routine">read</i></b><b>(&nbsp;)</b> and <b class="routine"><i class="routine">write</i></b><b>(&nbsp;)</b> to read and write to the TSFS socket. Because the socket is non-blocking, the <b class="routine"><i class="routine">read</i></b><b>(&nbsp;)</b> call returns immediately with an error and the appropriate <b class="symbol_lc">errno</b> if there is no data available to read from the socket. Ioctls specific to TSFS sockets are discussed in the online reference for <b class="library">wdbTsfsDrv</b> under <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">VxWorks Reference Manual&gt;Libraries</font></b>. This socket configuration allows WindView to use the socket facility without requiring <b class="library">sockLib</b> and the networking modules on the target. </p></dl><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="87280">Error Handling</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="87282"> </a>Errors can arise at various points within TSFS and are reported back to the original caller on the target, along with an appropriate error code. The error code returned is the VxWorks <b class="symbol_lc">errno</b> which most closely matches the error experienced on the host. If a WDB error is encountered, a WDB error message is returned rather than a VxWorks <b class="symbol_lc">errno</b>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="87284">Security Considerations</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="87286"> </a>While TSFS has much in common with <b class="library">netDrv</b>, the security considerations are different. With TSFS, the host file operations are done on behalf of the user that launched the target server. The user name given to the target as a boot parameter has no effect. In fact, none of the boot parameters have any effect on the access privileges of TSFS. </p><dd><p class="Body"><a name="87287"> </a>In this environment, it is less clear to the user what the privilege restrictions to TSFS actually are, since the user ID and host machine that start the target server may vary from invocation to invocation. In any case, any Tornado tool that connects to a target server which is supporting TSFS has access to any file with the same authorizations as the user that started that target server. For this reason, the target server is locked by default when TSFS is started.</p><dd><p class="Body"><a name="87288"> </a>The options which have been added to the target server startup routine to control target access to host files using TSFS include: </p></dl><dl class="margin"><dd><div class="Item"><a name="87290"> </a><b class="command">-R</b> </div><dl class="margin"><dl class="margin"><dd><div class="Indent2"><a name="87291"> </a>set the root of TSFS </div><br><dd><div class="Indent2"><a name="87292"> </a>For example, specifying <b class="command">-R /tftpboot</b> prepends this string to all TSFS file names received by the target server, so that <b class="file">/tgtsvr/etc/passwd</b> maps to <b class="file">/tftpboot/etc/passwd</b>. If <b class="operator">-R</b> is not specified, TSFS is not activated and no TSFS requests from the target will succeed. Restarting the target server without specifying <b class="operator">-R </b>disables TSFS.</div><br></dl></dl><dd><div class="Item"><a name="87294"> </a><b class="command">-RW</b> </div><dl class="margin"><dl class="margin"><dd><div class="Indent2"><a name="87295"> </a>make TSFS read-write </div><br><dd><div class="Indent2"><a name="87296"> </a>The target server interprets this option to mean that modifying operations (including file create and delete or write) are authorized. If <b class="command">-RW</b> is not specified, the default is read only and no file modification are allowed.</div><br></dl></dl></dl></dl><dl class="margin"><dd><p class="table" callout><table border="0" cellpadding="0" cellspacing="0"><tr valign="top">

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品萝li| 三级精品在线观看| 精品一区二区三区欧美| av资源网一区| 中文一区在线播放| 粉嫩av亚洲一区二区图片| 欧美日韩电影在线| 亚洲自拍偷拍欧美| 欧美色精品在线视频| 亚洲成人av免费| 日本乱码高清不卡字幕| 综合久久久久久久| 一本久久a久久免费精品不卡| 日韩欧美一区在线观看| 免费成人在线观看视频| 精品入口麻豆88视频| 国产乱子轮精品视频| 久久综合成人精品亚洲另类欧美| 国产自产高清不卡| 久久精品人人做人人综合| 蜜芽一区二区三区| 精品sm捆绑视频| 成人性生交大合| 亚洲欧美综合在线精品| 欧美色网站导航| 秋霞电影一区二区| 2020日本不卡一区二区视频| 国产成人av电影在线| 日韩美女视频一区| 制服.丝袜.亚洲.另类.中文| 麻豆高清免费国产一区| 欧美精品一区二区三区四区| 成人av动漫在线| 亚洲午夜精品在线| 精品久久久久久久久久久久包黑料 | 欧美日韩精品一区二区三区蜜桃| 香蕉加勒比综合久久| 久久久天堂av| 在线一区二区三区四区| 日韩成人免费电影| 欧美激情中文不卡| 成人性视频免费网站| 一级女性全黄久久生活片免费| 欧美成人三级在线| 色中色一区二区| 精品制服美女丁香| 亚洲天堂免费在线观看视频| 在线不卡a资源高清| 国产一区二区视频在线播放| 亚洲精品国产精华液| 精品国产91洋老外米糕| 91黄色免费观看| 国内精品视频一区二区三区八戒 | 欧美精品777| 91丨porny丨国产入口| 国内久久婷婷综合| 麻豆视频观看网址久久| 亚洲福中文字幕伊人影院| 国产精品久久久一区麻豆最新章节| 欧美zozozo| 91精品国产91久久综合桃花| 色综合久久久久久久久久久| 欧美精品久久99| 色先锋久久av资源部| 成人一二三区视频| 国产风韵犹存在线视精品| 久久精品国产99久久6| 日本中文一区二区三区| 婷婷综合五月天| 午夜精品福利一区二区蜜股av| 亚洲综合色网站| 一级中文字幕一区二区| 亚洲综合色视频| 亚洲一区二区影院| 亚洲一区二区五区| 亚洲成人自拍网| 日韩精品乱码av一区二区| 五月天中文字幕一区二区| 午夜影视日本亚洲欧洲精品| 亚洲一区二区三区中文字幕| 亚洲午夜羞羞片| 午夜久久福利影院| 麻豆精品久久精品色综合| 青椒成人免费视频| 国内成人自拍视频| 国产一级精品在线| 国产91丝袜在线18| 99久久精品国产毛片| 色妞www精品视频| 欧美日韩色综合| 欧美一区二区网站| 久久综合狠狠综合久久激情| 国产婷婷色一区二区三区四区 | 亚洲欧洲日韩av| 一二三四社区欧美黄| 日韩av一区二区三区| 麻豆精品国产传媒mv男同| 韩国女主播成人在线| 成人综合激情网| 91福利国产精品| 日韩欧美视频在线| 中文在线一区二区| 午夜视频在线观看一区二区| 精品无人区卡一卡二卡三乱码免费卡| 国产v日产∨综合v精品视频| 91麻豆成人久久精品二区三区| 欧美老肥妇做.爰bbww| 久久久久国产精品免费免费搜索| 成人免费视频在线观看| 日日摸夜夜添夜夜添精品视频 | 1024精品合集| 日韩精品1区2区3区| 国产老肥熟一区二区三区| 99精品视频免费在线观看| 欧美人体做爰大胆视频| 国产日韩av一区二区| 亚洲国产精品久久艾草纯爱| 国产一区二区三区最好精华液| 在线亚洲欧美专区二区| 337p日本欧洲亚洲大胆色噜噜| 亚洲女同ⅹxx女同tv| 国产一区二区在线视频| 欧美在线999| 亚洲国产精品成人综合| 日本大胆欧美人术艺术动态 | 亚洲色图都市小说| 久久精品久久综合| 欧美中文字幕一区| 中文字幕二三区不卡| 无吗不卡中文字幕| 99久久婷婷国产综合精品电影 | 日韩精品一区二区三区蜜臀 | 欧美日韩一本到| 久久久国产精品麻豆| 日韩精品亚洲专区| 日本道免费精品一区二区三区| 久久一区二区三区四区| 日韩和欧美一区二区三区| 99r精品视频| 国产午夜精品美女毛片视频| 日本怡春院一区二区| 91久久奴性调教| 国产欧美一区二区精品秋霞影院| 日韩有码一区二区三区| 欧美在线视频全部完| 1024精品合集| 成人看片黄a免费看在线| 精品国产一区久久| 日本免费新一区视频| 欧美三级乱人伦电影| 国产精品久久久久久久裸模| 国产精品自在在线| 精品日韩一区二区| 久久成人av少妇免费| 在线成人av影院| 亚洲国产你懂的| 欧美性videosxxxxx| 亚洲自拍另类综合| 91麻豆精品一区二区三区| 亚洲天堂网中文字| 91麻豆国产福利精品| 亚洲精品高清在线观看| 色噜噜狠狠色综合欧洲selulu| 最新成人av在线| 91蜜桃网址入口| 一区二区在线观看不卡| 在线视频中文字幕一区二区| 亚洲影院久久精品| 欧美日韩五月天| 日本不卡一区二区| 欧美一三区三区四区免费在线看 | 国产精品久久久爽爽爽麻豆色哟哟 | 久久福利资源站| 精品对白一区国产伦| 久久99久久精品| 久久久欧美精品sm网站| 国产成人午夜精品影院观看视频| 国产欧美一区二区三区在线老狼| 国产成人在线看| 一区在线观看视频| 在线观看网站黄不卡| 丝袜亚洲精品中文字幕一区| 日韩精品在线网站| 粉嫩欧美一区二区三区高清影视| 一色屋精品亚洲香蕉网站| 日本韩国视频一区二区| 热久久免费视频| 久久精品夜色噜噜亚洲a∨| 成人动漫一区二区| 亚洲第一久久影院| 精品精品欲导航| 成人avav影音| 亚洲成人av福利| 2020国产精品| 91久久精品国产91性色tv| 人人爽香蕉精品| 国产精品动漫网站| 3d成人h动漫网站入口| 成人免费观看av| 无码av免费一区二区三区试看|