tailieunhanh - Lecture Operating system concepts (9th Ed) - Chapter 11: File-system interface

In this chapter, students will be able: To explain the function of file systems; to describe the interfaces to file systems; to discuss file-system design tradeoffs, including access methods, file sharing, file locking, and directory structures; to explore file-system protection. | Chapter 11: File-System Interface Operating System Concepts – 9th Edition Silberschatz, Galvin and Gagne ©2013 Chapter 11: File-System Interface File Concept Access Methods Disk and Directory Structure File-System Mounting File Sharing Protection Operating System Concepts – 9th Edition Silberschatz, Galvin and Gagne ©2013 Objectives To explain the function of file systems To describe the interfaces to file systems To discuss file-system design tradeoffs, including access methods, file sharing, file locking, and directory structures To explore file-system protection Operating System Concepts – 9th Edition Silberschatz, Galvin and Gagne ©2013 File Concept Contiguous logical address space Types: Data character numeric binary Program Contents defined by file’s creator Many types Consider text file, source file, executable file Operating System Concepts – 9th Edition Silberschatz, Galvin and Gagne ©2013 File Attributes Name – only information kept in human-readable form Identifier – unique tag (number) identifies file within file system Type – needed for systems that support different types Location – pointer to file location on device Size – current file size Protection – controls who can do reading, writing, executing Time, date, and user identification – data for protection, security, and usage monitoring Information about files are kept in the directory structure, which is maintained on the disk Many variations, including extended file attributes such as file checksum Information kept in the directory structure Operating System Concepts – 9th Edition Silberschatz, Galvin and Gagne .