Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 3 : File Management - Coggle Diagram
Chapter 3 : File Management
Functions of File Management
Include storing of files in orderly fashion
Accessing the stored files
Appending the stored files and protecting the files from loss of data
Organise and keep tracks 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
Sequential
Implemented by the file system
Advantages
A simple file design
Disadvantages
The processing is slow
Direct
Method useful for disks
Advantages
Fast access to records
Disadvantages
May generate same logical address
Indexed
To find a record on the file
Types of Directory Structure
Single level Directory
Keeps file separately
Two level Directory
Helps to keep their files separately
Directory Structure
Backups will be kept on tapes
Storage Structure
Used in it entirely for a file system
Methods of File Allocation
Contiguous File Allocation
Indexed File Allocation
Contiguous File Allocation