OPERATING SYSTEMS DESIGN AND IMPLEMENTATION Third Edition ANDREW S. TANENBAUM ALBERT S. WOODHULL - PowerPoint PPT Presentation

1 / 20
About This Presentation
Title:

OPERATING SYSTEMS DESIGN AND IMPLEMENTATION Third Edition ANDREW S. TANENBAUM ALBERT S. WOODHULL

Description:

OPERATING SYSTEMS. DESIGN AND IMPLEMENTATION. Third Edition. ANDREW S. ... Figure 1-9. The MINIX system calls. fd is a file descriptor; and n is a byte count. ... – PowerPoint PPT presentation

Number of Views:286
Avg rating:3.0/5.0
Slides: 21
Provided by: Wils224
Category:

less

Transcript and Presenter's Notes

Title: OPERATING SYSTEMS DESIGN AND IMPLEMENTATION Third Edition ANDREW S. TANENBAUM ALBERT S. WOODHULL


1
OPERATING SYSTEMSDESIGN AND IMPLEMENTATIONThird
EditionANDREW S. TANENBAUMALBERT S. WOODHULL
  • Yan hao (Wilson) Wu
  • wwu_at_uwc.ac.za
  • University of the Western Cape
  • Computer Science Department

2
Operating system concepts
  • System calls
  • processes
  • file system

3
Processes
  • Figure 1-5. A process tree. Process A created two
    child processes, B and C. Process B created three
    child processes, D, E, and F.

4
File Systems (1)
  • Figure 1-6. A file system for a university
    department.

5
File Systems (2)
Figure 1-7. (a) Before mounting, the files on
drive 0 are not accessible. (b) After mounting,
they are part of the file hierarchy.
6
File Systems (3)
Figure 1-8. Two processes connected by a pipe.
7
System Calls (1)
Process Management
Figure 1-9. The MINIX system calls. fd is a file
descriptor and n is a byte count.
8
Processes
Figure 1-11. Processes have three segments text,
data, and stack. In this example, all three are
in one address space, but separate instruction
and data space is also supported.
9
System Calls (2)
Signals
Figure 1-9. The MINIX system calls. fd is a file
descriptor and n is a byte count.
10
System Calls (3)
File Management
11
System Calls (4)
Dir. File System Mgmt.
Figure 1-9. The MINIX system calls. fd is a file
descriptor and n is a byte count.
12
System Calls (5)
Protection
Figure 1-9. The MINIX system calls. fd is a file
descriptor and n is a byte count.
13
System Calls (6)
Time Management
Figure 1-9. The MINIX system calls. fd is a file
descriptor and n is a byte count.
14
The fork Call in the Shell
15
System Calls for File Management (1)
Figure 1-12. The structure used to return
information for the stat and fstat system calls.
In the actual code, symbolic names are used for
some of the types.
16
System Calls for File Management (2)
Figure 1-13. A skeleton for setting up a
two-process pipeline.
17
System Calls for File Management (3)
Figure 1-13. A skeleton for setting up a
two-process pipeline.
18
System Calls for Directory Management (1)
link(/usr/jim/memo,/usr/ast/note)
Figure 1-14. (a) Two directories before linking
/usr/jim/memo to asts directory. (b) The same
directories after linking.
19
System Calls for Directory Management (2)
mount(/dev/cdrom0,/mnt,0)
Figure 1-15. (a) File system before the mount.
(b) File system after the mount.
20
pipe
Write a Comment
User Comments (0)
About PowerShow.com