c741 - c741: Directory Structure

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
Operating System Concepts with Java – 7 th  Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 c741: Directory Structure
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10.2 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th  Edition, Nov 15, 2006 Directory Structure A collection of nodes containing information about all files 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
Background image of page 2
10.3 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th  Edition, Nov 15, 2006 A Typical File-system Organization
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10.4 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th  Edition, Nov 15, 2006 Operations Performed on Directory Search for a file Create a file Delete a file List a directory Rename a file Traverse the file system
Background image of page 4
10.5 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th  Edition, Nov 15, 2006 Organize the Directory (Logically) to Obtain Efficiency – locating a file quickly Naming – convenient to users Two users can have same name for different files The same file can have several different names Grouping – logical grouping of files by properties, (e.g., all Java programs, all games, …)
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10.6 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th  Edition, Nov 15, 2006 Single-Level Directory A single directory for all users Naming problem Grouping problem
Background image of page 6
10.7 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th  Edition, Nov 15, 2006 Two-Level Directory Separate directory for each user Path name Can have the same file name for different user Efficient searching No grouping capability
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/22/2010 for the course CS 1 taught by Professor A during the Spring '10 term at Indonesian Computer University.

Page1 / 22

c741 - c741: Directory Structure

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online