操作系统概念英文课件:Chapter 10 File-System Interface.pptVIP

  • 3
  • 0
  • 约6.05千字
  • 约 41页
  • 2020-12-30 发布于安徽
  • 举报

操作系统概念英文课件:Chapter 10 File-System Interface.ppt

Operating System Concepts General Graph Directory Operating System Concepts General Graph Directory (Cont.) How do we guarantee no cycles? Allow only links to file not subdirectories. Garbage collection. Every time a new link is added use a cycle detection algorithm to determine whether it is OK. Operating System Concepts File System Mounting A file system must be mounted before it can be accessed. A unmounted file system (I.e. Fig. 11-11(b)) is mounted at a mount point. Operating System Concepts (a) Existing. (b) Unmounted Partition Operating System Concepts Mount Point Operating System Concepts File Sharing Sharing of files on multi-user systems is desirable. Sharing may be done through a protection scheme. On distributed systems, files may be shared across a network. Network File System (NFS) is a common distributed file-sharing method. Operating System Concepts Protection File owner/creator should be able to control: what can be done by whom Operating System Concepts Types of access Read Write Execute Append Delete List Operating System Concepts Mode of access: read, write, execute Three classes of users RWX a) owner access 7 ? 1 1 1 RWX b) group access 6 ? 1 1 0 RWX c) public access 1 ? 0 0 1 Operating System Concepts Access Lists and Groups Ask manager to create a group (unique name), say G, and add some users to the group. For a particular file (say game) or subdirectory, define an appropriate access. owner group public chmod 761 game Attach a group to a file chgrp G game Operating System Concepts 10.* Operating System Concepts Operating System Concepts Chapter 10: File-System Interface File Concept Access Methods Directory Structure File System Mounting File Sharing Protection Operating System Concepts File Concept Contiguous logical address space Types: Data numeric character binary Program Operating System Concepts File Structure None - sequence of words, bytes Simple record structure Lines Fixed length Var

文档评论(0)

1亿VIP精品文档

相关文档