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

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

?? vxw_pt3.html

?? vxworks 問題解答
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head>   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">   <meta name="GENERATOR" content="VIM on Unix and Win95">   <meta name="Author" content="Johan Borkhuis">   <meta name="description" content="VxWorks / Tornado II information / FAQ">   <meta name="keywords" content="VxWorks,Tornado,FAQ">   <meta name="version" content="$Id: vxw_pt3.html,v 1.22 2002/03/22 09:02:50 borkhuis Exp $">   <title>VxWorks and Tornado II FAQ</title></head><body><center><h1><strong><font size="+4">VxWorks / Tornado II FAQ</font></strong></h1></center><p><hr WIDTH="80%"><h2><a href="#3">3. File System problems</a></h2><blockquote><h3><a href="#3.1">3.1 Dos file system</a></h3></blockquote><blockquote><h3><a href="#3.2">3.2 Flash File system</a></h3></blockquote><blockquote><h3><a href="#3.3">3.3 Floppy-disk File system</a></h3></blockquote><blockquote><h3><a href="#3.4">3.4 RAM-disk File system</a></h3></blockquote><blockquote><h3><a href="#3.5">3.5 General file system questions</a></h3></blockquote><blockquote><h3><a href="#index">Index</a></h3></blockquote><hr WIDTH="80%"><p><h2><a NAME="3"><center>3. File System problems</center></a></h2><p><h3><a NAME="3.1"><center>3.1 DOS File System</center></a></h3><a NAME="3.1-A"></a>Q: All my files on the disk have the date 1 Jan 1980. How can I get thesystem to use the actual date?<p>A: This is a problem related to the original DOS-FS implementation.With the introduction of the new implementation, DosFS2, this problemhas disapeared. There are also a lot of other changes and improvementsmade to the DosFS system. It is advisable to use this version insteadof the original. DosFS2 is a free update to Tornado-2 and can be obtainedfrom your local sales representative.<p>Within the old DOS file system the current date is not used. You haveto use a hook to do this. See the following code to create a funtionthat changes the file-time to the actual time:<pre>voiddosFsDateTimeHook(DOS_DATE_TIME *pDateTime){    time_t              tm_t;    struct tm           currTime;    struct timespec     timeSpec;    tm_t = time(NULL);    localtime_r(&amp;tm_t, &amp;currTime);    /* pass values to DOS date and time structure */    pDateTime-&gt;dosdt_year = currTime.tm_year+1900;    pDateTime-&gt;dosdt_month = currTime.tm_mon + 1;    pDateTime-&gt;dosdt_day = currTime.tm_mday;    pDateTime-&gt;dosdt_hour = currTime.tm_hour;    pDateTime-&gt;dosdt_minute = currTime.tm_min;    pDateTime-&gt;dosdt_second = currTime.tm_sec;}</pre>Then add the following line to your startup code (for example after theinitialization of dosFs).<pre>dosFsDateTimeInstall(dosFsDateTimeHook);</pre>See also the description of dosFsLib in the VxWorks Reference Manual.<p><hr WIDTH="50%"><a NAME="3.1-B"></a><p>Q: When I create a file with a size of 0 on a removable medium withVxWorks and run Scandisk on a PC on this filesystem, Scandisk complainsabout Incorrect file size. This in only the case if the size is 0.<p>A: This has been a known problem with dosFsLib for a few years, andit is fixed in DosFs 2.0. Here are some more details:<br>The NFS server module uses the number of the first cluster of a file(16 bits) as part of its File Handle, together with a running generationcounter. Because of this requirement of NFS, dosFs was modified(between VxWorks 5.1.1 and 5.2) to allways allocate at least onecluster to a file, even if it was completely empty, with 0 bytes.<br>This is not entirely in-line with Microsoft implementations whichdo not allocate clusters to empty files, and leave the first clusternumber in directory entries as 0 for file with no data.<br>The action taken by ScanDisk is based on the assumption thatsince the file has one cluster allocated to it, the systemwent down before it had a chanse to update the file size fieldin the directory entry, and adjusts this field in an attempt tosalvage possibly lost data contained in that allocated cluster.<br>Hence it is clear that even though this slight incompatibility issuewas known for some time, (in addition to other small issues) it couldnot be "fixed" without redesigning the NFS server module to use othermeans to generate File Handles.<br>With DosFs 2.0, the file system as well as the NFS server whereredesigned in a way that does away with all the compatibility issues,and making FosFs 2.0 and NFS server completely isolated one from theother.<br>(From: Leonid Rosenboim, leonid@bitband.com)<p><hr WIDTH="50%"><a NAME="3.1-C"></a><p>Q: With the new disk partition manageger which is part of the dosFs2.0release, is there an elegant means to mount all the valid partitions ??  Sincethe current code does not actually do the mount until the first access, none ofthe calls (dpartPartGet() and dosFsDevCreate() for example.) return errorseven if the partition you are mounting really doesn't exist. You have toaccess it first.<p>A: DosFs 2.0 requires you to specify the maximum number of partition youEXPECT to see on the disk, and to provide each of these expected partitiona logical device name. Sinc VxWorks does not have (never had) an automaticmechanism for assigning logical names to devices (a'la A:, B:, C:, ... inMessDos), and a logical name is a necesity to be able to access the deviceafter initialization. <br>Alternatively, the number of expected partitions can be large, since it is notan error if there are less partitions on the actual disk then expected - theexraneous partitions will have logical device names associated with them, butwill yield an error on any access attempt. Moreover, the number of expectedpartitions must accomodate any removable disk which could be inserted into aparticular drive.<br>The partition mamager module "dpartCbio" has an arbitrary limitation of 8partitions, that is supposed to be sufficient for most applications. Manyoperating systems have a similar limitation (SunOS, Solaris have max 8partitions per disk drive) which are seldom reached.<br>It could be possible by slight modification of dpartCbio source code to get morepartitions, but my feeling is that there is something strange if you need morethen 8 partitions on a disk, perhaps your design considerations should berevised...                                                                      <br>(From: Leonid Rosenboim, leonid@bitband.com)<p><hr WIDTH="50%"><a NAME="3.1-D"></a><p>Q: Is it possible to use FTP with the raw file system?<p>A: The ftp server uses open/read/write/close the same as any other program, so canread (and write) raw filesystems.<br>You will need to use a 'proper' ftp client to request the required transfer. Noneof the windows 'file manager' style ftp clients interact well with the vxWorks ftpserver.<br>If you create a raw file system covering the same disc space as a dosfs one, youcan take an image of the current state of the filesystem and restore it at a laterdate.  (Assuming no files are open ...)<br>One thing I found is that the ftp server requires that the raw device driver errorreads for zero bytes at the end of file - otherwise the ftp doesn't complete.<br>(From: David Laight, dsl@tadpole.co.uk)<p><hr WIDTH="50%"><a NAME="3.1-E"></a><p>Q: When I create a direcory <code>chkdsk</code> complains at the next reboot.<p>A: Seems you are rebooting too soon after creating the directory, it had thechance to update the FAT but not the root (parent) directory, so there isa cluster allocated which is not referred from any directory entry, thusit would reclaim it in an attempt to salvage potentially lost data.<br>If you do some more operations prior to rebooting, it will be able to flushthe buffers and then all will be consistent.<br>With TFFS, disk write operations are rather lenghy, perhaps you shold try thesame with a RAM disk or some other media with the same DosFs setup.<br>(From: Leonid Rosenboim, leonid@bitband.com)<p><hr WIDTH="50%"><a NAME="3.1-F"></a><p>Q: Why does the task 'dCacheUpd' take so much of the processortime?<p>A: You have correctly identified the task responsable for using-up your CPU.<br>Knowing Flash, my guess is that what you see is the busy-loop delay code ofthe MTD used to wait for completion of every Flash memory write operation.Typical Flash memories require delays of 6 to 14 microseconds for each bytewritten, and busy-loop is a common solution for such timing requirement.<br>The reason this happens in Disk Cache task is that the write operationsyour application calls write to the disk cache, which using the write-backmachnism updates that data to the disk at a later time.<br>As a first-off solution recommendation, I would recommend that you tune theDisk Cache task priority to be sufficiently low so as not to interfere withother functions of your application, this could potentially slow down themaximum write speed, depending on how much CPU time the disk cache task iseventually getting, and this can also somewhat increase the lag timebetween the write() call from your application, till its on the Flash.<br>There are other ideas which could cause the CPU time used to write Flash tobe spend on behalf of the task which calls write() rather then the diskcache, decreasing the time-lag, but I am afraid this won't improve anyother factor.<br>One good way to improve all aspects of this, is to use Compact Flash ATAcards insead of TrueFFS, which have on-board microcontroller doing all thatgreesy Flash timing for you without consuming any CPU time at all.<br>(From: Leonid Rosenboim, leonid@bitband.com)<p><hr WIDTH="50%"><a NAME="3.1-G"></a><p>Q: How can I unmount a DOS-filesystem?<p>A: Unfortunately 'unmount' isn't part of the dosfs spec.  Even in dosfs2.Apparantly 'there is no requirement for it'<br>WRS Support will send you a load of 'unsopported code' that (if compiledwith the correct header files etc) will completely free up all the dataareas allocated by dosfs.  However things will go 'tits up' if there are anyopen files, and more so if you cannot guarantee that a file isn't beingopened (by another task) at the same time as you are freeing all thedata areas!<br>(From: David Laight, David.Laight@btinternet.com)<p><hr WIDTH="50%"><a NAME="3.1-H"></a><p>Q: Why does a file, when deleted on the target, still appear on the NFSexported drive?<p>A: The client will compare directory names (cache against server) before itwill assume the directory is unchanged and use cached handles, but dosFs 1.0does not update directory modification time when a file is deleted,<br>In other words, dosFs 1.0 and its NFS server can offer no solution to thissituation.<br>(From: Leonid Rosenboim)<p><hr WIDTH="50%"><a NAME="3.1-I"></a><p>Q: With DosFS2 some of our files started disappearing.<p>A: DosFs 2.0 has a problem with Tornado 2.x on PowerPC 603/604 architecture(or other derivatives using the 603/604 compule flag),which is due to PowerPC compiler improper code generation for 64-bitinteger operations used throughout DosFs 2.0.<p>This bug could is tricky to catch, it will bite you only if you havesome tasks doing Floating Point calculation, and task switch takingplace between these and other tasks doing DosFs I/O in midst of64-bit arithmetics. So do not be fooled to beleive you eint got it!<p>For those who got DosFs 2.0 source code, this can be solved byeither compiling the library with -msoft-float compile flag, or bydisabling 64-bit math (not recommended).For binary only licensees, you need a patch which is available fromWINDSURF.<p>References:<blockquote>SPR # 71089<br>Additional SPR # 33221,33702,33684,34704,62415,28428</blockquote>(From: Leonid Rosenboim)<p><hr WIDTH="60%"><p><h3><a NAME="3.2"><center>3.2 Flash File System</center></a></h3><a NAME="3.2-A"></a>Q: When my system boots from network the network link is opened , but whenI use TFFS as a boot device the network is not opened.<p>A: Define the ethernet device in the "other" boot parameter, for example ifthr original boot device is cpm(0,0) the other (o) parameter should be cpm.The bootline in this case could be if you want to boot from a flash disk:<pre>$tffs=0,0(0,0)host:vxworks e=<target IP> o=cpm</pre><br>(Needed: Include Network components\basic network initialization components\bootlineprocessing components\network device name selection)<p>If this does not help it probably means that the device you want to bootfrom is not defined in usrNetBoot.c In the function usrNetDevNameGet only thestandard file devices (SCSI, IDE, ATA) are checked. If one of these isavailable the "other" boot parameter is checked, but if another device is usedthe parameter is not checked.<br>To fix this add the line with the '+' sign to the moduletarget\config\comps\src\net\usrNetBoot.c (line 97):<pre>  if ( (strncmp (sysBootParams.bootDev, "scsi", 4) == 0) ||+      (strncmp (sysBootParams.bootDev, "tffs", 4) == 0) ||       (strncmp (sysBootParams.bootDev, "ide" , 3) == 0) ||       (strncmp (sysBootParams.bootDev, "ata" , 3) == 0) ||       (strncmp (sysBootParams.bootDev, "fd" , 2) == 0))</pre>When some other device is used replace tffs with the correct device name.<p><hr WIDTH="50%"><a NAME="3.2-B"></a><p>Q: Can I use long filenames with TFFS?<p>A: Assuming you are using the old dosFs, which is shipped with Tornado 2,then you are out of luck:<br> TrueFFS is very nosy about the DosFs structure stored on its volumes, andthe only safe way to use it is to format a TrueFFS volume only with theformat function supplied with TrueFFS. Never use dosFsMkfs() to format aTrueFFS volume.<br>DosFs long names are non-standard, and can be created only with dosFsMkfs(),and are known to cause file data to dissapear when used with TrueFFS,because TrueFFS's idea of the meaning of some fields in the boot block andDosFs's idea vary. This has been documented in the SPR database.<br> Your solution is to either go to DosFs 2 which supports standard VFAT longnames, or to do away with TrueFFS.<br>(From: Leonid Rosenboim, leonid@bitband.com)<p><hr WIDTH="50%"><a NAME="3.2-C"></a><p>Q: I want to use TFFS with a Raw file system. Is this possible?<p>A: The MS-DOS specific code in TrueFFS could be disabled by callingthe routine tffsDevOptionsSet() right after the call totffsDevCreate().<br>Once you have done this, you should be able to use TrueFFS withraw filesystem.<br>(From: Andrey Kaganovsky, andreyk@home.com)<p><hr WIDTH="50%"><a NAME="3.2-D"></a><p>Q: Is there an alternative for TFFS?<p>A: There are several alternative flash filing systems. There is also onethat is released under GPL, called JFFS (Journaling Flash File System). This

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
黑人巨大精品欧美黑白配亚洲| 国产91精品露脸国语对白| 丁香激情综合国产| 欧日韩精品视频| 欧美国产精品一区二区| 韩国欧美国产1区| 欧美高清精品3d| 亚洲香肠在线观看| 91麻豆精品视频| 中文字幕一区二区三区在线播放| 国内成人免费视频| 日韩精品一区二区三区三区免费| 亚洲成a人片在线不卡一二三区| 色综合色狠狠天天综合色| 中文字幕成人网| 精品一区二区三区免费播放| 欧美一区二区美女| 日日骚欧美日韩| 欧美日韩在线一区二区| 一区2区3区在线看| 色噜噜狠狠成人网p站| 久久精品夜色噜噜亚洲aⅴ| 麻豆成人免费电影| 欧美一级久久久久久久大片| 亚洲成人一二三| 欧美日韩色综合| 丝瓜av网站精品一区二区| 欧美日本高清视频在线观看| 亚洲福利视频导航| 91久久精品午夜一区二区| 欧美高清在线视频| 国产一区三区三区| 久久久久一区二区三区四区| 激情综合网av| 久久精品视频一区| 成人激情av网| 亚洲免费在线看| 色悠悠亚洲一区二区| 一区二区三区91| 欧美在线999| 亚洲精品免费视频| 91免费观看视频在线| 亚洲激情男女视频| 欧美专区亚洲专区| 婷婷久久综合九色综合绿巨人| 欧美高清hd18日本| 麻豆91在线看| 久久久亚洲精品石原莉奈| 成人一道本在线| 一区二区高清免费观看影视大全| 欧美色综合天天久久综合精品| 五月激情丁香一区二区三区| 在线免费观看日韩欧美| 一区二区三区日韩在线观看| aaa国产一区| 亚洲综合久久av| 欧美一区二区三区视频免费| 国产一区二区免费视频| 久久久午夜电影| av一区二区久久| 亚洲国产一区二区三区| 日韩一区二区在线看| 国产精品系列在线播放| 国产精品剧情在线亚洲| 欧美在线观看一区| 麻豆免费精品视频| 国产欧美综合在线观看第十页| av网站免费线看精品| 亚洲一区二区三区国产| 精品精品国产高清一毛片一天堂| 国产一区二区三区在线观看免费视频| 国产精品久久久久久久蜜臀| 欧美性受xxxx| 日韩精品三区四区| 国产精品伦理在线| 欧美人与禽zozo性伦| 韩国v欧美v日本v亚洲v| 亚洲免费av在线| 精品国产免费一区二区三区四区| 成人国产亚洲欧美成人综合网| 亚洲欧美中日韩| 在线观看亚洲精品| 国产乱码字幕精品高清av| 一区二区三区在线观看动漫| 日韩久久久精品| 精品女同一区二区| 94-欧美-setu| 捆绑调教美女网站视频一区| 中文字幕精品一区二区三区精品| 欧美美女一区二区| 成人一区在线观看| 亚洲精品videosex极品| 26uuu另类欧美| 欧美视频一二三区| 成人免费视频caoporn| 日本在线不卡一区| 欧美国产日产图区| 欧美日韩国产欧美日美国产精品| 国产精品一卡二卡| 视频在线观看一区| 综合久久久久久久| 精品久久国产字幕高潮| 欧美在线观看视频在线| 成人综合日日夜夜| 久久精品国产在热久久| 亚洲国产一区在线观看| 国产精品久久午夜夜伦鲁鲁| 日韩免费在线观看| 欧美亚州韩日在线看免费版国语版| 韩国成人福利片在线播放| 婷婷综合另类小说色区| 亚洲精品综合在线| 中文字幕免费不卡| 欧美va亚洲va香蕉在线| 欧美视频日韩视频| 色综合久久中文综合久久牛| 国产福利91精品一区| 久久精品久久久精品美女| 亚洲成人精品在线观看| 亚洲青青青在线视频| 欧美国产精品久久| 久久久99精品免费观看不卡| 7777女厕盗摄久久久| 成人听书哪个软件好| 韩日欧美一区二区三区| 伦理电影国产精品| 午夜精品久久久久影视| 一区二区欧美国产| 中文字幕在线不卡一区二区三区| 久久综合久久鬼色| 日韩午夜激情av| 欧美一区二区三区视频在线观看| 欧美日韩精品一区二区三区四区| 色网站国产精品| 色哟哟精品一区| 91麻豆国产福利在线观看| 成人理论电影网| 成人黄色在线看| 国产福利一区二区三区在线视频| 久久精品99久久久| 日韩精品乱码免费| 亚洲影视在线播放| 亚洲午夜在线电影| 亚洲激情综合网| 亚洲精品你懂的| 一区二区三区视频在线看| 亚洲欧美激情视频在线观看一区二区三区| 日韩一区中文字幕| 亚洲蜜臀av乱码久久精品| 国产精品不卡视频| 亚洲欧美另类在线| 亚洲久草在线视频| 亚洲一区二区三区中文字幕在线| 亚洲精品国产第一综合99久久| 亚洲精品美国一| 洋洋av久久久久久久一区| 亚洲精品视频在线看| 夜夜夜精品看看| 亚洲h动漫在线| 免费久久99精品国产| 久久99国内精品| 国产综合色在线| 成人一区在线观看| 91小视频在线免费看| 色欧美片视频在线观看| 欧美在线观看一二区| 91精品国产品国语在线不卡| 91精品麻豆日日躁夜夜躁| 欧美成人猛片aaaaaaa| 久久久久久久性| 国内精品久久久久影院薰衣草| 国产真实精品久久二三区| 国产成a人亚洲| av不卡在线观看| 欧美中文字幕久久| 欧美日韩精品欧美日韩精品| 欧美日韩成人综合| 欧美日韩国产经典色站一区二区三区 | 日韩欧美一级二级三级久久久| 91麻豆免费看| 91.xcao| 欧美色大人视频| 欧美一区二区三区爱爱| 久久只精品国产| 亚洲欧美在线观看| 日本亚洲电影天堂| 国产.精品.日韩.另类.中文.在线.播放| 色8久久人人97超碰香蕉987| 欧美精品自拍偷拍动漫精品| 欧美国产一区二区| 亚洲v精品v日韩v欧美v专区| 国产精品自产自拍| 欧美日韩免费电影| 国产色一区二区| 亚洲777理论| 成人网在线免费视频| 欧美一区二区久久| 亚洲情趣在线观看| 国产一区二区三区精品欧美日韩一区二区三区 | 日韩欧美资源站|