Rose-Hulman CSSE 332 - File Management (31 pages)

Previewing pages 1, 2, 14, 15, 30, 31 of 31 page document View the full content.
View Full Document

File Management



Previewing pages 1, 2, 14, 15, 30, 31 of actual document.

View the full content.
View Full Document
View Full Document

File Management

33 views


Pages:
31
School:
Rose-Hulman Institute of Technology
Course:
Csse 332 - Operating Systems

Unformatted text preview:

Why a file system Why a file system There is a general need for long term and shared data storage need to store large amount of information persistent storage outlives process and system reboots concurrent sharing of information Files meet these requirements The file manager or file system within the OS Set of system software proving services to users and applications in use of files Files are accessed through file management system 2 Concept of a file A named collection of related data stored on secondary storage File name may encode the file type file extensions in UNIX and Windows Abstraction presented to the user Common examples of File types Regular files directories Executable files special files block and character Archives 3 File structure logical None sequence of words bytes Simple record structure Lines Fixed length Variable length Complex Structures Formatted document multi media documents Who decides Operating system Application DBMS 4 File attributes Name only information kept in human readable form Type needed for systems that support different types Location pointer to file location on device Size current file size Protection controls who can do reading writing executing Time date and user identification data for protection security and usage monitoring Information about files are kept in the directory structure which is maintained on the disk 5 File operations create write read reposition within file file seek delete truncate open file i search the directory structure on disk for entry file i and move the content of entry to memory close file i move the content of entry file i from memory to directory structure on disk 6 Examples of file types File Type Executable Object Source code Usual extension exe com bin or none obj o Functiion ready to run machinelanguage program complied machine language not linked source code in various languages commands to the command interpreter textual data documents Batch c p pas 177 asm a bat sh Text txt doc Word



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view File Management and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view File Management and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?