linux文件系統(tǒng)試驗 一、實驗?zāi)康? 學(xué)習(xí)有關(guān)linux文件管理程序如何組織的知識,為簡化的文件系統(tǒng)設(shè)計并實現(xiàn)一組目錄操作。實驗中使用軟盤的fat12格式,設(shè)計一個程序可以對這種格式的磁盤進(jìn)行一組目錄操作。 實驗使用了部分linux的系統(tǒng)調(diào)用,比如說open() sleek() read() write()幾個調(diào)用。通過此實驗來對linux的文件系統(tǒng)的管理有進(jìn)一步的理解。 二、實驗要求 主要實現(xiàn)三個功能:一 讀取磁盤目錄的目錄列表。(命令輸入 ls ) 二 切換目錄(不處理路徑名)。(命令輸cd dir_name 或cd/ 或cd.. ) 三 刪除當(dāng)前目錄下的文件。(命令輸入 Del filename )
標(biāo)簽: linux 文件系統(tǒng) 實驗 文件管理
上傳時間: 2014-01-17
上傳用戶:
編程題(15_01.c) 結(jié)構(gòu) struct student { long num char name[20] int score struct student *next } 鏈表練習(xí): (1).編寫函數(shù)struct student * creat(int n),創(chuàng)建一個按學(xué)號升序排列的新鏈表,每個鏈表中的結(jié)點中 的學(xué)號、成績由鍵盤輸入,一共n個節(jié)點。 (2).編寫函數(shù)void print(struct student *head),輸出鏈表,格式每行一個結(jié)點,包括學(xué)號,姓名,分?jǐn)?shù)。 (3).編寫函數(shù)struct student * merge(struct student *a,struct student *b), 將已知的a,b兩個鏈表 按學(xué)號升序合并,若學(xué)號相同則保留成績高的結(jié)點。 (4).編寫函數(shù)struct student * Del(struct student *a,struct student *b),從a鏈表中刪除b鏈表中有 相同學(xué)號的那些結(jié)點。 (5).編寫main函數(shù),調(diào)用函數(shù)creat建立2個鏈表a,b,用print輸出倆個鏈表;調(diào)用函數(shù)merge升序合并2個 鏈表,并輸出結(jié)果;調(diào)用函數(shù)Del實現(xiàn)a-b,并輸出結(jié)果。 a: 20304,xxxx,75, 20311,yyyy,89 20303,zzzz,62 20307,aaaa,87 20320,bbbb,79 b: 20302,dddd,65 20301,cccc,99 20311,yyyy,87 20323,kkkk,88 20307,aaaa,92 20322,pppp,83
標(biāo)簽: student struct score long
上傳時間: 2016-04-13
上傳用戶:zxc23456789
Of the password is: Server: "1." Client: + for the month of the date of the machine. Such as "2005/08/05", compared with the number "85" Database: "xzxq". I made the changes: 1, stations and customer-service once every 30 seconds to exchange information (to ensure continuous line) 2, computer services-an increase of the serial number 3, client-service to send the card serial number and send IP addresses to the service side 4, the desktop client by the embargo, since the definition of the icon to start the process faster (from the window Superman Code) 5, CS-shielding some function keys, but CTRL + ALT + Del keys can not shield the hope that a revised modify these friends 6, there are some corners of Laws (such as title, etc.). Client desktop icon in the Settings page set up first class to enter FXZWN999 open on to add, Delete icon button
標(biāo)簽: the password machine Client
上傳時間: 2016-06-27
上傳用戶:xsnjzljj
黑客基礎(chǔ)之DOS 攻擊(極品中極品) net use \\ip\ipc$ " " /user:" " 建立IPC空鏈接 net use \\ip\ipc$ "密碼" /user:"用戶名" 建立IPC非空鏈接 net use h: \\ip\c$ "密碼" /user:"用戶名" 直接登陸后映射對方C:到本地為H: net use h: \\ip\c$ 登陸后映射對方C:到本地為H: net use \\ip\ipc$ /Del 刪除IPC鏈接
上傳時間: 2016-07-02
上傳用戶:playboys0
(1) 為Windows操作系統(tǒng)建立兼容的DOS命令接口,文件與目錄命令 (2) 具體命令:DIR,RD,CD,MD,Del,MOVE,REN,XCOPY,命令格式可參考Windows的CMD.EXE或MS-DOS提供的命令格式 (3) 設(shè)計命令的名稱,參數(shù)等格式 (4) 可以字符形式接受命令,執(zhí)行命令,然后顯示命令執(zhí)行結(jié)果
標(biāo)簽: Windows DOS 操作系統(tǒng) 兼容
上傳時間: 2014-07-25
上傳用戶:gengxiaochao
程序主要模擬了系統(tǒng)文件管理的功能,主要功能有: MD:在目錄文件中創(chuàng)建子目錄,同時搜索當(dāng)前目錄最后一個目錄項,并保存指針信息 CD:根據(jù)當(dāng)前目錄切換到指定目錄 RD:搜索所要刪除的目錄是否為空目錄,若是則刪除 MK:在當(dāng)前目錄中創(chuàng)建文件名稱(申請空間利用位示圖修改FAT) Del:搜索所要刪除的文件是否存在,若是則刪除(恢復(fù)位示圖修改FAT) DIR:列出當(dāng)前目錄的所有目錄項 DIR1:列出當(dāng)前目錄的位示圖
上傳時間: 2014-01-06
上傳用戶:zhichenglu
以filemon開源代碼為模板,加以修改,增加界面控制程序,可以添加指定文件加以保護(hù)(禁止被shift+Del刪除)。
上傳時間: 2014-01-05
上傳用戶:lvzhr
visual C++的代碼,實現(xiàn)Del+alt+Del等系統(tǒng)熱鍵功能,非常強(qiáng)大
上傳時間: 2014-01-09
上傳用戶:yzhl1988
采用3D Bresenham算法在兩點間劃一直線 % This program is ported to MATLAB from: % B.Pendleton. line3d - 3D Bresenham s (a 3D line drawing algorithm) % ftp://ftp.isc.org/pub/usenet/comp.sources.unix/volume26/line3d, 1992 % % Which is referenced by: % Fischer, J., A. Del Rio (2004). A Fast Method for Applying Rigid % Transformations to Volume Data, WSCG2004 Conference. % http://wscg.zcu.cz/wscg2004/Papers_2004_Short/M19.pdf
標(biāo)簽: Bresenham Pendleton program MATLAB
上傳時間: 2013-12-10
上傳用戶:sz_hjbf
MTOOLS version 2.0 Mtools is a public domain collection of programs to allow Unix systems to read, write, and manipulate files on an MSDOS filesystem (typically a diskette). The following MSDOS commands are emulated: Mtool MSDOS name equivalent Description ----- ---- ----------- mattrib ATTRIB change MSDOS file attribute flags mcd CD change MSDOS directory mcopy COPY copy MSDOS files to/from Unix mDel Del/ERASE Delete an MSDOS file mdir DIR display an MSDOS directory mformat FORMAT add MSDOS filesystem to a low-level format mlabel LABEL make an MSDOS volume label. mmd MD/MKDIR make an MSDOS subdirectory mrd RD/RMDIR remove an MSDOS subdirectory mread COPY low level read (copy) an MSDOS file to Unix mren REN/RENAME rename an existing MSDOS file mtype TYPE display contents of an MSDOS file mwrite COPY low level write (copy) a Unix file to MSDOS
標(biāo)簽: collection programs version systems
上傳時間: 2016-11-18
上傳用戶:wlcaption
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1