亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产一区二区毛片| 国产91在线看| 成人黄色免费短视频| 欧美日韩亚洲综合| 亚洲欧洲日本在线| 国产一区二区不卡在线| 欧美精品1区2区3区| 亚洲图片你懂的| 国产精品一区二区黑丝| 91麻豆精品国产| 亚洲伊人伊色伊影伊综合网 | 久久久久国产免费免费| 午夜亚洲国产au精品一区二区| 国产精品1024| 久久先锋影音av| 蜜臀av在线播放一区二区三区| 欧美色精品在线视频| 国产精品灌醉下药二区| 成人a区在线观看| 欧美激情一区二区三区全黄 | 91精品国产综合久久久久| 亚洲与欧洲av电影| 精品人在线二区三区| 亚洲精品中文字幕在线观看| 顶级嫩模精品视频在线看| 久久亚洲精精品中文字幕早川悠里| 免费看欧美美女黄的网站| 91麻豆精品久久久久蜜臀| 石原莉奈在线亚洲二区| 欧美日韩一区成人| 午夜电影网一区| 国产精品不卡在线| 成人aaaa免费全部观看| 国产偷国产偷亚洲高清人白洁| 国产在线精品视频| 国产欧美日韩三区| 成人av在线一区二区三区| 中文字幕av在线一区二区三区| 国产91精品一区二区麻豆亚洲| 国产嫩草影院久久久久| 成人av动漫网站| 亚洲欧美色图小说| 欧美视频一区在线| 日韩国产在线观看| 欧美福利视频一区| 蜜桃在线一区二区三区| 久久九九久精品国产免费直播| 成人自拍视频在线观看| 亚洲日穴在线视频| 在线成人小视频| 亚洲乱码国产乱码精品精的特点| 成人av在线电影| 亚洲精品日韩综合观看成人91| 91香蕉视频在线| 亚洲激情成人在线| 在线精品视频一区二区| 亚洲成a人v欧美综合天堂下载 | 国产精品视频九色porn| 国产精品一区专区| 国产精品久久久99| 欧美日韩国产系列| 国产精品一区二区果冻传媒| 亚洲欧美一区二区久久| 91精品国产综合久久婷婷香蕉| 国内精品久久久久影院一蜜桃| 国产精品毛片大码女人| 欧美日韩亚洲综合| 国产成人高清在线| 三级一区在线视频先锋| 日本一区二区免费在线观看视频| 精品视频一区二区三区免费| 久久av资源网| 亚洲午夜私人影院| 久久精品视频一区二区三区| 色婷婷国产精品综合在线观看| 久久99国产乱子伦精品免费| 中文字幕在线观看不卡| 日韩一区二区视频| 色菇凉天天综合网| 懂色av一区二区三区蜜臀| 亚瑟在线精品视频| 成人免费在线观看入口| 久久综合久色欧美综合狠狠| 在线观看精品一区| 成人亚洲精品久久久久软件| 天天综合色天天综合色h| 国产精品动漫网站| 精品播放一区二区| 91精品久久久久久久91蜜桃| 在线视频亚洲一区| 成人午夜激情在线| 激情国产一区二区 | 国产乱理伦片在线观看夜一区| 亚洲成av人片在线观看| 一区二区三区四区在线播放 | 精品久久国产老人久久综合| 色美美综合视频| 成人免费高清在线| 国产成人自拍在线| 狠狠色狠狠色综合| 男男视频亚洲欧美| 香蕉久久夜色精品国产使用方法 | 91丨九色丨蝌蚪丨老版| 成人h动漫精品| 成人短视频下载| 国产成人av电影免费在线观看| 国内成人自拍视频| 极品少妇xxxx精品少妇偷拍| 日韩高清在线电影| 日韩二区在线观看| 麻豆精品久久精品色综合| 午夜精品久久久久| 天天色图综合网| 日韩黄色片在线观看| 日本成人在线一区| 久久 天天综合| 国产精品亚洲а∨天堂免在线| 国产精品一二三区| a亚洲天堂av| 91福利精品第一导航| 欧美三级日本三级少妇99| 欧美精品在线一区二区| 日韩午夜精品视频| 久久综合精品国产一区二区三区| 欧美精品一区二区三区一线天视频 | 成人一区二区三区| k8久久久一区二区三区 | thepron国产精品| 91色综合久久久久婷婷| 欧美日韩在线播放三区| 91.com视频| 国产亚洲精品精华液| 中文欧美字幕免费| 玉米视频成人免费看| 午夜私人影院久久久久| 美女脱光内衣内裤视频久久网站| 老司机精品视频线观看86 | 久久99久久99精品免视看婷婷 | 91成人免费在线视频| 欧美日韩成人在线一区| 精品国产一区二区在线观看| 国产日韩影视精品| 亚洲精选免费视频| 看电视剧不卡顿的网站| 成人在线综合网站| 欧美电影一区二区三区| 国产日产精品1区| 亚洲成a人片在线不卡一二三区| 国内精品在线播放| 91黄视频在线| 欧美精品一区二区三区四区| 亚洲色图20p| 精品影院一区二区久久久| 99re这里只有精品视频首页| 欧美一级生活片| 日韩理论片中文av| 久久精品国产99| 日本精品一级二级| 久久久国产一区二区三区四区小说| 一个色综合av| 成人毛片老司机大片| 欧美一区二区久久| 一区二区视频在线| 国产精品一区二区久久精品爱涩| 欧美日韩亚洲另类| 亚洲日本在线a| 成人综合在线观看| 精品国产凹凸成av人网站| 亚洲一区二区高清| caoporen国产精品视频| 久久久久久久电影| 欧美96一区二区免费视频| 欧洲精品视频在线观看| 国产精品毛片久久久久久久| 国内精品久久久久影院薰衣草| 欧美吻胸吃奶大尺度电影| 中文字幕在线一区免费| 国产乱码精品一区二区三区av | 亚洲嫩草精品久久| 韩国欧美国产一区| 欧美久久久久免费| 一区二区日韩电影| 91影院在线免费观看| 国产欧美日韩综合| 精品一区二区三区免费视频| 91精品在线免费| 亚洲国产精品嫩草影院| 日本精品视频一区二区| 日韩一区在线看| 成人av网站大全| 亚洲欧洲日韩一区二区三区| 国产激情精品久久久第一区二区| 欧美xxxx老人做受| 国产一区视频网站| 久久久久久久久久美女| 国产一区二区美女诱惑| 国产欧美日韩一区二区三区在线观看| 国产乱码字幕精品高清av| 国产亚洲1区2区3区| 国v精品久久久网|