Operating - System File System
Operating - System File System
Chapter 4
File Systems (1)
Essential requirements for long-term
information storage:
1. It must be possible to store a very
large amount of information.
2. The information must survive the
termination of the process using it.
3. Multiple processes must be able to
access the information concurrently.
File Systems (2)
Think of a disk as a linear sequence of fixed size
blocks and supporting reading and writing of
blocks.
Questions that quickly arise:
1. How do you find information?
2. How do you keep one user from reading
another user’s data?
3. How do you know which blocks are free?
File Naming
Figure 4-3.
(a) An
executable
file. (b) An
archive.
File Attributes
Figure 4-17. (a) Situation prior to linking. (b) After the link is
created. (c) After the original owner removes the file.
Journaling File Systems
Read 1st paragraph page 285
Virtual File Systems (1)
Figure 4-22. (a) Storing the free list on a linked list. (b) A
bitmap.
Keeping Track of Free Blocks (2)
Figure 4-27. File system states. (a) Consistent. (b) Missing block at
slot 2.(c) Duplicate block in free list at slot 4 (d) Duplicate data
block at slot 5
Caching (1)