Understanding Operating Systems Seventh Edition
Understanding Operating Systems Seventh Edition
Seventh Edition
Chapter 13
UNIX Operating System
Learning Objectives
After completing this chapter, you should be able to
describe:
• The goals of UNIX designers
• The significance of using files to manipulate devices
• The strengths and weaknesses of competing
versions
• The advantages of command-driven user interfaces
(figure13.4)
When the fork
command is
received, the
parent process
shown in (a)
begets the child
process shown in
(b) and Statement
2 is executed
twice.
© Cengage
Learning 2014
(figure13.5)
The wait command used in
conjunction with the fork
command will synchronize
the parent and child
processes. In (a) the
parent process is shown
before the fork, (b) shows
the parent and child after
the fork, and (c) shows the
parent and child during the
wait.
© Cengage Learning 2014
(figure13.6)
The exec command is used
after the fork and wait
combination. In (a) the
parent is shown before the
fork, (b) shows the parent
and child after the fork, and
(c) shows how the child
process (Process 2) is
overlaid by the ls program
after the exec command.
© Cengage Learning 2014
(figure13.7)
When a process sends an I/O request, it goes to the UNIX kernel where the
char and block device drivers reside.
© Cengage Learning 2014
(table 13.2)
This table shows the list of files stored in the directory journal from the system
illustrated in Figure 13.9. The command ls -l (short for “listing-long”)
generates this list.
© Cengage Learning 2014