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

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

?? c-filesys2.html

?? this about vxworks operations systems
?? HTML
?? 第 1 頁 / 共 5 頁
字號:
<h4 class="H4"><i><a name="84530">Files</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84532"> </a>The disk space allocated to a file in the MS-DOS/dosFs file system is a set of clusters that are chained together through entries in the FAT. A file is not necessarily made up of contiguous clusters; the various clusters can be located anywhere on the disk and in any order.</p><dd><p class="Body"><a name="84533"> </a>Each file has a descriptive entry in the directory where it resides. This entry contains the file's name, size, last modification date and time, and a field giving several important attributes (read-only, system, hidden, modified since last archived). It also contains the starting cluster number for the file; subsequent clusters are located using the FAT.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84535">Volume Label </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84536"> </a>An MS-DOS/dosFs disk can have a <i class="term">volume label</i> associated with it. The volume label is a special entry in the root directory. Rather than containing the name of a file or subdirectory, the volume label entry contains a string used to identify the volume. This string can contain up to 11 characters. The volume label entry is identified by a special value of the file-attribute byte in the directory entry.</p><dd><p class="Body"><a name="84537"> </a>Note that a volume label entry is not reported using <b class="routine"><i class="routine">ls</i></b><b>(&nbsp;)</b>. However, it does occupy one of the fixed number of entries in the root directory.</p><dd><p class="Body"><a name="84539"> </a>The volume label can be added to a dosFs volume by using the <b class="routine"><i class="routine">ioctl</i></b><b>(&nbsp;)</b> call with the <b class="symbol_UC">FIOLABELSET</b> function. This adds a label entry to the volume's root directory if none exists or changes the label string in an existing volume label entry. The volume label entry takes up one of the fixed number of root directory entries; attempting to add an entry when the root directory is full results in an error.</p><dd><p class="Body"><a name="84541"> </a>The current volume label string for a volume can be obtained by calling the <b class="routine"><i class="routine">ioctl</i></b><b>(&nbsp;)</b> call with the <b class="symbol_UC">FIOLABELGET</b> function. If the volume has no label, this call returns <b class="symbol_UC">ERROR</b> and sets <b class="symbol_lc">errno</b> to <b class="symbol_UC">S_dosFsLib_NO_LABEL</b>.</p><dd><p class="Body"><a name="84543"> </a>Disks initialized under VxWorks or under MS-DOS 5.0 (or later) also contain the volume label string within a boot sector field.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84547">4.2.2  &nbsp;&nbsp;Initializing the dosFs File System</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84548"> </a>Note that before any other operations can be performed, the dosFs file system library, <b class="library">dosFsLib</b>, must be initialized by calling <b class="routine"><i class="routine">dosFsInit</i></b><b>(&nbsp;)</b>. This routine takes a single parameter, the maximum number of dosFs file descriptors that can be open at one time. That number of file descriptors is allocated during initialization; a descriptor is used each time your application opens a file, directory, or the file system device.</p><dd><p class="Body"><a name="84550"> </a>The <b class="routine"><i class="routine">dosFsInit</i></b><b>(&nbsp;)</b> routine also makes an entry for the file system in the I/O system driver table (with <b class="routine"><i class="routine">iosDrvInstall</i></b><b>(&nbsp;)</b>). This entry specifies entry points for dosFs file operations and is used for all devices that use the dosFs file system. The driver number assigned to the dosFs file system is recorded in a global variable <b class="symbol_lc">dosFsDrvNum</b>.</p><dd><p class="Body"><a name="86798"> </a>The <b class="routine"><i class="routine">dosFsInit</i></b><b>(&nbsp;)</b> routine is normally called by the <b class="routine"><i class="routine">usrRoot</i></b><b>(&nbsp;)</b> task after starting the VxWorks system. To use this initialization, select <b class="symbol_UC">INCLUDE_DOSFS</b> for inclusion in the project facility VxWorks view, and set <b class="symbol_UC">NUM_DOSFS_FILES</b> to the desired maximum open file count on the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Params</font></b> properties tab. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="86803">4.2.3  &nbsp;&nbsp;Initializing a Device for Use with dosFs</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84559"> </a>After the dosFs file system is initialized, the next step is to create one or more devices. Devices are created by the device driver's device creation routine (<i class="textVariable">xx</i><b class="routine"><i class="routine">DevCreate</i></b><b>(&nbsp;)</b>). The driver routine returns a pointer to a block device descriptor structure (<b class="symbol_UC">BLK_DEV</b>). The <b class="symbol_UC">BLK_DEV</b> structure describes the physical aspects of the device and specifies the routines that the device driver provides to a file system. For more information on block devices, see <a href="c-iosys9.html#85946"><i class="title">3.9.4&nbsp;Block Devices</i></a>.</p><dd><p class="Body"><a name="84564"> </a>Immediately after its creation, the block device has neither a name nor a file system associated with it. To initialize a block device for use with the dosFs file system, the already-created block device must be associated with dosFs and a name must be assigned to it. This is done with the <b class="routine"><i class="routine">dosFsDevInit</i></b><b>(&nbsp;)</b> routine. Its parameters are the name to be used to identify the device, a pointer to the block device descriptor structure (<b class="symbol_UC">BLK_DEV</b>), and a pointer to the volume configuration structure <b class="symbol_UC">DOS_VOL_CONFIG</b> (see <a href="c-filesys2.html#84591"><i class="title">4.2.4&nbsp;Volume Configuration</i></a>). For example:</p><dl class="margin"><dd><pre class="Code2"><b><a name="84569">DOS_VOL_DESC *pVolDesc; DOS_VOL_CONFIG configStruct; pVolDesc = dosFsDevInit ("DEV1:", pBlkDev, &amp;configStruct);</a></b></pre></dl><dd><p class="Body"><a name="84571"> </a>The <b class="routine"><i class="routine">dosFsDevInit</i></b><b>(&nbsp;)</b> call performs the following tasks:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84572"> </a>Assigns the specified name to the device and enters the device in the I/O system device table (with <b class="routine"><i class="routine">iosDevAdd</i></b><b>(&nbsp;)</b>).</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84573"> </a>Allocates and initializes the file system's volume descriptor for the device.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84574"> </a>Returns a pointer to the volume descriptor. This pointer is subsequently used to identify the volume during certain file system calls.</li></ul></p></dl><dl class="margin"><dd><p class="Body"><a name="84575"> </a>Initializing the device for use with dosFs does not format the disk, nor does it initialize the disk with MS-DOS structures (root directory, FAT, and so on). This permits using <b class="routine"><i class="routine">dosFsDevInit</i></b><b>(&nbsp;)</b>with disks that already have data in an existing MS-DOS file system; see <a href="c-filesys2.html#85002"><i class="title">4.2.6&nbsp;Using an Already Initialized Disk</i></a>. Formatting and DOS disk initialization can be done using the <b class="routine"><i class="routine">ioctl</i></b><b>(&nbsp;)</b> functions <b class="symbol_UC">FIODISKFORMAT</b> and <b class="symbol_UC">FIODISKINIT</b>, respectively.</p><dd><p class="Body"><a name="84582"> </a>The <b class="routine"><i class="routine">dosFsMkfs</i></b><b>(&nbsp;)</b> call provides an easier method of initializing a dosFs device; it does the following:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84583"> </a>Provides a set of default configuration values.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84584"> </a>Calls <b class="routine"><i class="routine">dosFsDevInit</i></b><b>(&nbsp;)</b><b>.</b></li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84585"> </a>Initializes the disk structures using <b class="routine"><i class="routine">ioctl</i></b><b>(&nbsp;)</b> with the <b></b><b class="symbol_UC">FIODISKINIT</b> function.</li></ul></p></dl><dl class="margin"><dd><p class="Body"><a name="84586"> </a>The routine <b class="routine"><i class="routine">dosFsMkfs</i></b><b>(&nbsp;)</b> by default does not enable any dosFs-specific volume options (<b class="symbol_UC">DOS_OPT_CHANGENOWARN</b>, <b class="symbol_UC">DOS_OPT_AUTOSYNC</b>, <b class="symbol_UC">DOS_OPT_LONGNAMES</b>, <b class="symbol_UC">DOS_OPT_LOWERCASE</b>, or <b class="symbol_UC">DOS_OPT_EXPORT</b>). To enable any combination of these options, use <b class="routine"><i class="routine">dosFsMkfsOptionsSet</i></b><b>(&nbsp;)</b><b> </b>before calling <b class="routine"><i class="routine">dosFsMkfs</i></b><b>(&nbsp;)</b> to initialize the disk. For more information on the default configuration values, see the manual entry for <b class="routine"><i class="routine">dosFsMkfs</i></b><b>(&nbsp;)</b>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84591">4.2.4  &nbsp;&nbsp;Volume Configuration</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84594"> </a>The volume configuration structure, <b class="symbol_UC">DOS_VOL_CONFIG</b>, is used during the <b class="routine"><i class="routine">dosFsDevInit</i></b><b>(&nbsp;)</b> call. This structure contains various dosFs file system variables describing the layout of data on the disk. Most of the fields in the structure correspond to those in the boot sector. <a href="c-filesys2.html#84602">Table&nbsp;4-1</a> lists the fields in the <b class="symbol_UC">DOS_VOL_CONFIG</b> structure.<p class="table"><h4 class="EntityTitle"><a name="84602"><font face="Helvetica, sans-serif" size="-1" class="sans">Table 4-1:&nbsp;&nbsp;<b class="symbol_UC">DOS_VOL_CONFIG</b> Fields</font></a></h4><table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="84606"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Field</font></b></div></th><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="84608"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Description</font></b></div></th></tr><tr><td colspan="20"><hr class="tablerule2"></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="84610"> </a><b class="symbol_lc">dosvc_mediaByte</b> &nbsp;</div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="84612"> </a>Media-descriptor byte&nbsp;</div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="84614"> </a><b class="symbol_lc">dosvc_secPerClust</b> &nbsp;</div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="84616"> </a>Number of sectors per cluster&nbsp;</div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="84618"> </a><b class="symbol_lc">dosvc_nResrvd</b> &nbsp;</div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="84620"> </a>Number of reserved sectors that precede the first FAT copy; the minimum is 1 (the boot sector)&nbsp;</div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="84622"> </a><b class="symbol_lc">dosvc_nFats</b> &nbsp;</div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="84624"> </a>Number of FAT copies&nbsp;</div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="84626"> </a><b class="symbol_lc">dosvc_secPerFat</b> &nbsp;</div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="84628"> </a>Number of sectors per FAT copy&nbsp;</div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="84630"> </a><b class="symbol_lc">dosvc_maxRootEnts</b> &nbsp;</div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="84632"> </a>Maximum number of entries in root directory&nbsp;</div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="84634"> </a><b class="symbol_lc">dosvc_nHidden</b> &nbsp;</div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="84636"> </a>Number of hidden sectors, normally 0&nbsp;</div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="84638"> </a><b class="symbol_lc">dosvc_options</b> &nbsp;</div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="84640"> </a>VxWorks-specific file system options&nbsp;</div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="84642"> </a><b class="symbol_lc">dosvc_reserved</b> &nbsp;</div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="84644"> </a>Reserved for future use by Wind River Systems&nbsp;</div></td></tr><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p></p><dd><p class="Body"><a name="84646"> </a>Calling <b class="routine"><i class="routine">dosFsConfigInit</i></b><b>(&nbsp;)</b>is a convenient way to initialize <b class="symbol_UC">DOS_VOL_CONFIG</b>. It takes the configuration variables as parameters and fills in the structure. This is useful for initializing devices interactively from the Tornado shell (see the <i class="title">Tornado User's Guide: Shell</i>). The <b class="symbol_UC">DOS_VOL_CONFIG</b> structure must be allocated <i class="emphasis">before</i> <b class="routine"><i class="routine">dosFsConfigInit</i></b><b>(&nbsp;)</b> is called. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84647"><b class="symbol_UC">DOS_VOL_CONFIG</b> Fields</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84651"> </a>All but the last two<b class="symbol_UC"> DOS_VOL_CONFIG</b> fields in <a href="c-filesys2.html#84602">Table&nbsp;4-1</a> describe standard MS-DOS characteristics. The field <b class="symbol_lc">dosvc_options</b> is specific to the dosFs file system. Possible options for this field are shown in <a href="c-filesys2.html#84659">Table&nbsp;4-2</a>.<p class="table"><h4 class="EntityTitle"><a name="84659"><font face="Helvetica, sans-serif" size="-1" class="sans">Table 4-2:&nbsp;&nbsp;dosFs Volume Options</font></a></h4><table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><th rowspan="1" colspan="1">

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一二三四五| 国产网站一区二区| 老司机免费视频一区二区| ww久久中文字幕| 91在线视频观看| 精品一区二区三区的国产在线播放| 久久欧美中文字幕| 欧美精品1区2区3区| 国产电影一区二区三区| 亚洲午夜免费视频| 2023国产精品| 日韩欧美在线1卡| 欧美精品久久一区| 99久久国产免费看| 欧美一区二区播放| 99精品国产热久久91蜜凸| 精品一区二区三区在线观看| 亚洲在线免费播放| 一区二区在线观看免费视频播放 | 国产一区二区免费在线| 亚洲五月六月丁香激情| 亚洲欧美日韩小说| 国产精品福利影院| 亚洲黄色录像片| 亚洲chinese男男1069| 欧美日本一区二区在线观看| 色婷婷激情综合| 91久久一区二区| 欧美日韩一二区| 欧美电影一区二区三区| 欧美日韩国产天堂| 欧美精品三级在线观看| 欧美日韩一级二级| 欧美第一区第二区| 久久综合九色综合欧美98| wwwwxxxxx欧美| 国产精品不卡在线| 亚洲精品伦理在线| 人人精品人人爱| 国产福利一区在线| 色就色 综合激情| 91精品国产高清一区二区三区蜜臀| 欧美一区二区三区视频免费播放 | 亚洲一区二区三区在线看| 亚洲综合色网站| 国产在线国偷精品产拍免费yy| 国产成人夜色高潮福利影视| 91免费小视频| 日韩写真欧美这视频| 国产精品久久久久久久久免费丝袜 | 一区二区欧美视频| 韩国三级中文字幕hd久久精品| youjizz久久| 欧美草草影院在线视频| 一区二区三区在线播| 国产一区高清在线| 欧美精品一卡两卡| 亚洲欧美一区二区久久| 国产一区二区毛片| 这里只有精品视频在线观看| 国产精品久久久久久久岛一牛影视| 精品一区二区三区香蕉蜜桃| 欧美性生活影院| 国产精品国产三级国产aⅴ中文| 日韩精品乱码免费| 日本高清成人免费播放| 中文字幕亚洲区| 成人影视亚洲图片在线| 国产日韩精品一区二区三区 | 国产精品乱人伦中文| 伦理电影国产精品| 精品久久久久久久久久久久久久久久久| 中文字幕一区免费在线观看| 国产成人午夜99999| 久久精品一区二区三区四区| 美女看a上一区| 日韩免费一区二区| 国产在线观看免费一区| 久久久美女艺术照精彩视频福利播放| 免费在线看一区| 欧美不卡在线视频| 国产成人激情av| 亚洲欧美激情视频在线观看一区二区三区 | 最新成人av在线| 91在线高清观看| 亚洲国产毛片aaaaa无费看| 欧美中文字幕一二三区视频| 伊人色综合久久天天| 欧美一区二区精品| 福利一区二区在线| 一区二区三区欧美亚洲| 欧美日韩www| 国产一区二区免费看| 国产精品国产三级国产普通话蜜臀 | 26uuu国产一区二区三区| 成人一道本在线| 亚洲一区二区三区四区不卡| 欧美一区二区视频网站| 国产在线麻豆精品观看| 亚洲色图制服诱惑| 精品国产免费人成在线观看| 99视频在线精品| 韩国三级电影一区二区| 一区二区三区四区在线| 精品盗摄一区二区三区| 91蜜桃网址入口| 国精产品一区一区三区mba视频| 日韩欧美国产精品| 国产午夜精品久久久久久久| 国产一区二区三区久久悠悠色av| 亚洲图片另类小说| 久久久精品综合| 91精品国产综合久久精品性色| 国产成人8x视频一区二区| 日韩av一区二区三区| 亚洲精品成人在线| 久久精品夜色噜噜亚洲aⅴ| 欧美精品电影在线播放| 在线中文字幕不卡| 99天天综合性| 99久久99久久精品免费看蜜桃 | 亚洲女人的天堂| 欧美国产精品一区| 久久精品亚洲国产奇米99| 欧美一区二区三区免费大片| 欧美精选一区二区| 91精品国产综合久久小美女| 欧美日韩一区不卡| 欧美网站大全在线观看| 欧美三级视频在线观看| 在线观看一区二区视频| 欧美专区日韩专区| 日韩视频永久免费| www激情久久| 国产精品每日更新在线播放网址 | 7777精品伊人久久久大香线蕉超级流畅 | 亚洲精品老司机| 午夜久久久久久电影| 婷婷丁香久久五月婷婷| 裸体歌舞表演一区二区| 国产91在线看| 欧美性xxxxxx少妇| 日韩精品一区在线观看| 日本一区二区三区dvd视频在线| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 国内精品国产三级国产a久久 | 国产91清纯白嫩初高中在线观看| 懂色中文一区二区在线播放| 日韩高清一区二区| 国产黄人亚洲片| 久久99精品久久久久婷婷| 久久综合九色综合97_久久久| 精品福利二区三区| 国产一区二区三区免费观看| 91精品免费观看| 1000部国产精品成人观看| 水蜜桃久久夜色精品一区的特点| 免费高清视频精品| 亚洲欧洲性图库| 国产盗摄精品一区二区三区在线| 国产99久久久国产精品免费看| 欧美在线观看禁18| 成人三级伦理片| 精品久久国产字幕高潮| 一区二区三区在线影院| 狠狠色丁香久久婷婷综| 91麻豆精品国产91久久久使用方法| 久久这里只有精品视频网| 午夜精品久久久久久久久久久| 波波电影院一区二区三区| 69久久夜色精品国产69蝌蚪网| 亚洲欧美日韩一区二区| 成人一二三区视频| 欧美巨大另类极品videosbest| 一区二区三区欧美日韩| 国模娜娜一区二区三区| 久久女同性恋中文字幕| 国产精品自在欧美一区| 国产日产亚洲精品系列| 91在线视频免费91| 亚洲一区二区中文在线| 在线观看国产一区二区| 日日骚欧美日韩| 欧美一区二区三区日韩视频| 国产无人区一区二区三区| 亚洲欧美国产77777| 麻豆91精品视频| 波波电影院一区二区三区| 在线不卡的av| 亚洲美女在线一区| 蜜臀99久久精品久久久久久软件| 91麻豆自制传媒国产之光| 日韩欧美的一区二区| 不卡电影一区二区三区| 无码av免费一区二区三区试看| 欧美一级淫片007| 91视频.com| 日本vs亚洲vs韩国一区三区| 欧美性大战久久久久久久蜜臀| 国产精品美女久久久久久|