Principles ofOperating SystemsModule Number: 03Module Name:File ManagementVersion Code: OS4Released Date:8-Feb-2021
AIM•To understand the concepts of File Management2File Management
Objective•To understand the concepts of File Management3File Management
Outcome•Understand and implement concepts ofFile Management4File Management
Introduction●A file is a collection of related informationthat is recorded or stored on a secondary storage.●A file is a named assortment of related data that is recorded on optional stockpiling, for example, attractivecircles, attractive tapes and optical plates.●When all is said in done, a file is an arrangement of bits, bytes, lines or records whose importance ischaracterized by the records maker and client.5File Management
FILETYPES:ORDINARY FILES:○These are the documents that contain client data.○These may have text, information bases or executable program.○The client can apply different procedure on such records like add, adjust, erase or even eliminate the whole documentDIRECTORY FILES:○These documents contain rundown of record names and other data identified with these records.SPECIAL FILES:○These records are otherwise called gadget documents.○These documents address actual gadget like plates, terminals, printers, organizations, tape drive and so onThese fileshave twotypes −●Character special files− data is handled character by character as in case of terminals or printers.●Block special files− data is handled in blocks as in the case of disks and tapes.6File Management
●Common File types / File Support :7FILE MANAGEMENTSl.No.File TypeExtensionFunction1.ExecutableexeRead to run machine languageprogram2.ObjectObjCompiled, machine language, not linked3.Source codeC,java,html etc..Source code in various languages4.BatchbatIt contains commands to the command interpreter.5.TextTxt, docIt contains textual data anddocuments6.Librarydll, libIt contains libraries of routines for programmers.7.ArchiveArc, zip,rarRelated files grouped into one file, sometimes compressedfor archived andstorage8.MultimediaMpeg, mp4,mp3File containing audio,video,images
OPERATION ON FILESINTRODUCTION:There are many file operations that can be perform by the computer system.●File Create operation●File Delete operation●File Open operation●File Close operation●File Read operation●File Write operation●File Relocation operation8FILE MANAGEMENT
File Create Operation:●The file is created with no data.●The file create operation is the first step of the file.●Without creating any file, no operation can be performed.●The purpose of this operation is to announce that the file is coming to set some of the attributes.●Some space will be reserved in the hard drive.9FILE MANAGEMENT
File Write Operation●The file write operation is used to write the data to the file, again, generally at the current position.
Upload your study docs or become a
Course Hero member to access this document
Upload your study docs or become a
Course Hero member to access this document
End of preview. Want to read all 36 pages?
Upload your study docs or become a
Course Hero member to access this document
Term
Fall
Professor
NoProfessor
Tags