1.5 Operating System Concepts
1.5 Operating System Concepts
Introduction
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Processes (2)
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Files (1)
Figure 1-15. (a) Before mounting, the files on the CD-ROM are not
accessible. (b) After mounting, they are part of the file hierarchy.
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Pipe
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Ontogeny Recapitulates Phylogeny
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
System Calls (1)
Figure 1-18. Some of the major POSIX system calls. The return code
s is −1 if an error has occurred. The return codes are as follows: pid is
a process id, fd is a file descriptor, n is a byte count, position is an
offset within the file, and seconds is the elapsed time.
POSIX (Portable Operating System Interface) is
a set of standard operating system interfaces
based on the Unix.
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
System Calls (3)
Figure 1-18. Some of the major POSIX system calls. The return code
s is −1 if an error has occurred. The return codes are as follows: pid is
a process id, fd is a file descriptor, n is a byte count, position is an
offset within the file, and seconds is the elapsed time.
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
System Calls (4)
Figure 1-18. Some of the major POSIX system calls. The return code
s is −1 if an error has occurred. The return codes are as follows: pid is
a process id, fd is a file descriptor, n is a byte count, position is an
offset within the file, and seconds is the elapsed time.
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
System Calls (5)
Figure 1-18. Some of the major POSIX system calls. The return code
s is −1 if an error has occurred. The return codes are as follows: pid is
a process id, fd is a file descriptor, n is a byte count, position is an
offset within the file, and seconds is the elapsed time.
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
System Calls for Process
Management
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
System Calls for File
Management
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
System Calls for Directory
Management (1)
link("/usr/jim/memo", "/usr/ast/note");
Thereafter, /usr/jim/memo and /usr/ast/note refer to
the same file.
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
System Calls for Directory
Management (2)
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
The Windows Win32 API (1)
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Monolithic Systems (1)
Basic structure of OS
1.A main program that invokes the requested
service procedure.
2.A set of service procedures that carry out
the system calls.
3.A set of utility procedures that help the
service procedures.
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Monolithic Systems (2)
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Layered Systems
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All
Microkernels
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Virtual Machines
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Large Programming Projects
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
End
Chapter 1
Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.