Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
INTERNAL
By. K.TAMIZHARASU , HOD/CSE, JCET
• Ordinary files
• Directories
• Special files
• Pipes
/(root)
|
--------------------------------------------------------------------
| | | | | |
hree levels
UNIT-I K.TAMIZHARASU, HOD/CSE, JCET 32
Architecture of the Unix OS.
The set of system calls into those that interact
with
1. File subsystem and
2. Process control subsystem.
drivers.
UNIT-I K.TAMIZHARASU, HOD/CSE, JCET 33
System Kernel
The File subsystem and those that interact with the Process control
subsystem.
File subsystem:
•Process interact with the file subsystem via a specific set of system
calls, such as open, close, read, write, stat, chown (Change the record
of owner), chmod ( i.e access permission).
•The file system accesses file data using a buffering mechanism. Data
flow between the kernel and secondary storage devices.
•The buffering mechanism interacts with block I/O device drivers to
initiate data transfer to and from the kernel.
•Device drives are the kernel models that control the operation of
peripheral devices.
UNIT-I K.TAMIZHARASU, HOD/CSE, JCET 34
Process Control Subsystem
The process control subsystem is responsible for process
synchronization, interprocessor communication, memory
management, and process scheduling.
The file subsystem and the process control subsystem interact when
loading a file into memory for execution .The process subsystem
reads executable files into memory before executing them.
Some of the system calls:
•fork – Create a new process.
•exec- Overly the image of a program onto the running process.
•exit – Finish executing a process.
•wait – synchronize process execution with the exit of a previously
forked process).
•brk – control the size of memory allocated to a process.
•signal – control process response to extraordinary events.
It schedules them to run in turn until they awaiting a resource or until the
kernel preempts them when their recent run time exceeds a time quantum.
scheduler then chooses the highest priority eligible process to run; the
original processes run again when it is the highest priority eligible process
available.
• Process
- Context of a process
- Sate transitions
- Sleep and wakeup
cp
The sequences of processes used to boot some systems
memory.
Sleep process :
Processes go to sleep because they are awaiting the
Exceptions :