Chapter 5
Chapter 5
CHAPTER FIVE
FILE
MANAGMENT
OS
FILE MANAGMENT
File
compiled by Nagara K. OS
File Structure
compiled by Nagara K. OS
File Type
compiled by Nagara K. OS
conti
1. Ordinary files
These are the files that contain user information.
These may have text, databases or executable program.
The user can apply various operations on such files like add, modify, delete or
even remove the entire file.
2. Directory files
These files contain list of file names and other information related to these files.
3. Special files
These files are also known as device files.
These files represent physical device like disks, terminals, printers, networks, tape
drive etc.
These files are of two types −
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.
compiled by Nagara K. OS
File Access Mechanisms
compiled by Nagara K. OS
Direct/Random access
compiled by Nagara K. OS
Indexed sequential access
compiled by Nagara K. OS
End of slides
compiled by Nagara K. OS