Lecture Operating systems: A concept-based approach (2/e): Chapter 7 - Dhananjay M. Dhamdhere

Chapter 7 - File systems. This chapter discusses a programmer’s view of files and the file system. It describes fundamental file organizations, directory structures, operations on files and directories, and file sharing semantics, which specify the manner in which results of file manipulations performed by concurrent processes are visible to one another. | PROPRIETARY MATERIAL. © 2007 The McGraw-Hill Companies, Inc. All rights reserved. No part of this PowerPoint slide may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachers and educators permitted by McGraw-Hill for their individual course preparation. If you are a student using this PowerPoint slide, you are using it without permission. Goals of a File system Convenient and fast access to files Different file organizations to suit different user requirements Reliable storage of files Prevents damage due to crashes, etc. Controlled sharing of files Unauthorized persons should not be able to access files . also ensure efficient use of I/O devices We discuss this aspect in Chapter 12 Structure of a File system A file system is structured into a hierarchy of layers File system layer Deals with files as objects Creates files, allocates disk space to them Implements . | PROPRIETARY MATERIAL. © 2007 The McGraw-Hill Companies, Inc. All rights reserved. No part of this PowerPoint slide may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachers and educators permitted by McGraw-Hill for their individual course preparation. If you are a student using this PowerPoint slide, you are using it without permission. Goals of a File system Convenient and fast access to files Different file organizations to suit different user requirements Reliable storage of files Prevents damage due to crashes, etc. Controlled sharing of files Unauthorized persons should not be able to access files . also ensure efficient use of I/O devices We discuss this aspect in Chapter 12 Structure of a File system A file system is structured into a hierarchy of layers File system layer Deals with files as objects Creates files, allocates disk space to them Implements file sharing and prevents unauthorized access Prevents damage due to crashes Input-Output Control System (IOCS) layer Implements file system operations, ensuring Efficient access to records in files Efficient operation of I/O devices File system and IOCS layers Each layer contains policy and mechanism modules A mechanism module invokes modules of the lower layer File system A Directory Groups a set of files It contains an entry for each of these files The entry contains information useful for accessing the file Users have different directories Helps to separate files of different users Provides file naming freedom Directories are organized in a hierarchical structure Permits a user to organize her files logically, ., according to activities Logical organization in file systems Two files named beta exist. The file system must open the correct one when a process executes open (beta, ) Records may be organized differently in different files Logical organization in file systems .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.