Course Hero Logo

OS4 Module 3 File Management.ppt - Principles of Operating...

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 - 11 out of 36 pages.

Principles ofOperating SystemsModule Number: 03Module Name:File ManagementVersion Code: OS4Released Date:8-Feb-2021
AIMTo understand the concepts of File Management2File Management
ObjectiveTo understand the concepts of File Management3File Management
OutcomeUnderstand and implement concepts ofFile Management4File Management
IntroductionA 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 operationFile Delete operationFile Open operationFile Close operationFile Read operationFile Write operationFile 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 OperationThe 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

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture