freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

某學(xué)院操作系統(tǒng)課程設(shè)計(jì)報(bào)告(文件管理系統(tǒng))(原創(chuàng))-文庫吧資料

2024-11-20 21:16本頁面
  

【正文】 ? if(==NICFREE1) ? // 表表 示示 回回 收收 的的 block已已 經(jīng)經(jīng) 可可 以以 組組 成成 一一 個(gè)個(gè) block組組 了了 ? { ? for(i=0。 } else { free_block=[]。 } // 將將 待待 用用 block組組 的的 地地 址址 讀讀 入入 超超 級(jí)級(jí) 塊塊 =NICFREE1。iNICFREE。 // [NICFREE1]+1指指 向向 下下 一一 個(gè)個(gè) block組組 的的 地地 址址 塊塊 fread(block_buf,1,BLOCKSIZ,fd)。 flag=(i==0)。 return DISKFULL。i++) { [i]=i+3。 // 至至 此此 ,才才 完完 成成 512塊塊 文文 件件 塊塊 的的 定定 位位 for(i=0。 fseek(fd,DATASTART+BLOCKSIZ*503,SEEK_SET)。i512。 } 數(shù)據(jù)塊的分配 // 當(dāng)當(dāng) i=502之之 后后 ,完完 成成 文文 件件 塊塊 502~453的的 寫寫 入入 。 } fseek(fd,DATASTART+BLOCKSIZ* (i49),SEEK_SET)。jNICFREE。i+=50) /* 要要 加加 上上 2的的 原原 因因 是是 :: 每每 50個(gè)個(gè) BLOCK成成 組組 ,在在 每每 個(gè)個(gè) BLOCK組組 當(dāng)當(dāng) 中中 的的 第第 一一 個(gè)個(gè) BLOCK(稱稱 為為 地地 址址 塊塊 ) 放放 有有 整整 個(gè)個(gè) BLOCK組組 的的 地地 址址 。 } 表表 81 實(shí)實(shí) 驗(yàn)驗(yàn) 設(shè)設(shè) 計(jì)計(jì) 的的 文文 件件 系系 統(tǒng)統(tǒng) 與與 真真 正正 文文 件件 系系 統(tǒng)統(tǒng) 的的 區(qū)區(qū) 別別 調(diào)用中斷訪問外存 調(diào)用庫函數(shù)訪問外存 不依賴于其他操作系統(tǒng) 依賴其他操作系統(tǒng) 自定義系統(tǒng)文件格式 二進(jìn)制格式 真正文件系統(tǒng) 實(shí)驗(yàn)設(shè)計(jì)的文件系 統(tǒng) 幾幾 個(gè)個(gè) 重重 要要 的的 算算 法法 處處 理理 數(shù)據(jù)地址安排 for(i=NICFREE+2。 break。 done = 0。: /* 退退 出出 文文 件件 系系 統(tǒng)統(tǒng) */ logout(usr_id)。 case 39。 free(buf)。 write(ab_fd1,buf,BLOCKSIZ*6+5)。 ab_fd1=creat(2118,temp_dir,01777)。: /* 創(chuàng)創(chuàng) 建建 文文 件件 */ printf(Please input file name:)。 case 39。 ? chdir(temp_dir)。: /* 改改 變變 當(dāng)當(dāng) 前前 目目 錄錄 */ ? printf(Please input dir name:)。 ? case 39。 ? mkdir(temp_dir)。: /* 創(chuàng)創(chuàng) 建建 目目 錄錄 */ ? printf(Please input dir name:)。 ? case 39。: /* 顯顯 示示 目目 錄錄 內(nèi)內(nèi) 容容 */ ? _dir()。 ? switch(sel) ? { ? case 39。 ? printf( 1ls\n 2mkdir\n 3change dir\n 4create ? file\n 0Logout\n)。 ? if(!login(usr_id,usr_p)) ? return。 ? scanf(%s,amp。usr_id)。 ? printf(\nLogin\nPlease input your userid:)。 ? printf(\nNow will install the fillsystem,please wait ... \n)。 ? printf(Formating ... \n)。y39。 ? ? printf(\nDo you want to format the disk(y or n)?\n)。 ? char*buf。 ? char temp_dir[12]。 ? char usr_p[12]。 ? int user_id。 ? FILE*fd。 ? struct pwd pwd[PWDNUM]。 ? struct file sys_ofile[SYSOPENFILE]。 程序設(shè)計(jì)思想 ? include ? include ? include ? include ? include ? include ? include ? include ? include ? include ? include ? include ? include ? include ? include ? include ? include ? include ? include ? include ? struct hinode hinode[NHINO]。 ? int size。 ? }。 ? st
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1