1 / 16

The UNIX File System (1)

The UNIX File System (1). Some important directories found in most UNIX systems. The UNIX File System (2). Before linking. After linking. (a) Before linking. (b) After linking. The UNIX File System (3). Separate file systems After mounting. (a). (b).

hollace
Download Presentation

The UNIX File System (1)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The UNIX File System (1) Some important directories found in most UNIX systems

  2. The UNIX File System (2) • Before linking. • After linking. (a) Before linking. (b) After linking

  3. The UNIX File System (3) • Separate file systems • After mounting (a) (b) (a) Before mounting. (b) After mounting

  4. Locking Files (a) File with one lock (b) Addition of a second lock (c) A third lock

  5. System Calls for File Management • s is an error code • fd is a file descriptor • position is a file offset

  6. The lstat System Call Fields returned by the lstat system call.

  7. System Calls for Directory Management • s is an error code • dir identifies a directory stream • dirent is a directory entry

  8. UNIX File System (1) Disk layout in classical UNIX systems

  9. UNIX File System (2) Directory entry fields. Structure of the i-node

  10. UNIX File System (3) The relation between the file descriptor table, the open file description

  11. UNIX File System (4) • A BSD directory with three files • The same directory after the file voluminous has been removed

  12. The Linux File System Layout of the Linux Ex2 file system.

  13. Network File System (1) • Examples of remote mounted file systems • Directories are shown as squares, files as circles

  14. Network File System (2) The NFS layer structure. The NFS layer structure

  15. Security in UNIX Some examples of file protection modes

  16. System Calls for File Protection • s is an error code • uid and gid are the UID and GID, respectively

More Related