Chapter 10: File-System Interface
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition,
Chapter 10: File-System Interface
10.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Objectives
10.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
File Concept
10.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
File Structure
10.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
File Attributes
10.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
File Operations
10.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
File Types – Name, Extension
10.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Access Methods
read next
write next
reset
no read after last write
(rewrite)
read n
write n
position to n
read next
write next
rewrite n
n = relative block number
10.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Sequential-access File
10.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Simulation of Sequential Access on Direct-access File
10.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Directory Structure
F 1
F 2
F 3
F 4
F n
Directory
Files
Both the directory structure and the files reside on disk
Backups of these two structures are kept on tapes
10.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Operations Performed on Directory
10.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
End of Chapter 10
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition,