Please enable JavaScript.
Coggle requires JavaScript to display documents.
FILE MANAGEMENT - Coggle Diagram
FILE MANAGEMENT
FILE MANAGEMENT
- as a system that an operating system uses to keep track of different files.
FUNCTIONS OF AN EFFICIENT FILE SYSTEM
:
include storing of files in an orderly fashion
accessing the stored files
appending the stored files and protecting the files from loss of data
Organize and keep track of files
Provide an appropriate naming system for files
Provide a standardized set I/O interface routines
Ensure the data in the file is valid
File Access Techniques
DIRECT - Method useful for disks
INDEXED - built indicating the block containing the record with a given value for the key field.
SEQUENTIAL - Implemented by the file system
Types of Directory Structure
Single-level directory
there is only one
directory at the top
Two-level directory
User are allow to create a directory directly inside the root directory.
Directory structure
Both the directory structure and the files reside on disk
Storage structure
A disk can be used in its entirety for a file system
Methods of File Allocation
Contiguous file allocation
- Records stored one after another
Linked file allocation
- Files use any available disk storage space
Indexed file allocation
- Allows direct record access
Free Space Management
Linked List
Using bitmaps