Download presentation
Presentation is loading. Please wait.
Published byRhoda Bruce Modified over 6 years ago
1
OS Concepts Module 1.4 Richard Newman University of Florida
2
KEY CONCEPTS Processes Active elements of system
“Program in execution” May also be operated on as a passive element Files Passive elements of system Usual storage containers Directories Devices
3
PROCESSES Key concept in all operating systems
Definition: a program in execution Process is associated with an address space Also associated with set of resources Process can be thought of as a container Holds all information needed to run program Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.
4
PROCESSES TREE Figure A process tree. Process A created two child processes, B and C. Process B created three child processes, D, E, and F. Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.
5
Figure 1-14. A file system for a university department.
Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.
6
MOUNTING Mounting is the process of stitching the file system from a new device or volume into an existing file system so that devices are transparent Figure (a) Before mounting, the files on the CD-ROM are not accessible. (b) After mounting, they are part of the file hierarchy. Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.
7
PIPES A B Pipes are a way for processes to communicate as though they were writing to or reading from a file, except that all access is only sequential. Figure Two processes connected by a pipe. Process A writes chars to the pipe Process B reads chars from the pipe Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.
8
Summary Processes Programs in execution Not the same as a program!
Files Logically named persistent storage Also paradigm for I/O devices, communications Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.