0% found this document useful (0 votes)
21 views

Unix Unit 1

The document provides an overview of the key concepts from the book 'The Design of the Unix Operating System' including the general system overview, introduction to the kernel, and the buffer cache. It outlines the topics covered in each chapter and sections that should be focused on or implemented as exercises.

Uploaded by

ishvaryadinesh
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Unix Unit 1

The document provides an overview of the key concepts from the book 'The Design of the Unix Operating System' including the general system overview, introduction to the kernel, and the buffer cache. It outlines the topics covered in each chapter and sections that should be focused on or implemented as exercises.

Uploaded by

ishvaryadinesh
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Unit 1- OVERVIEW

Learn system calls, algorithms, functions

In "The Design of the Unix Operating System" book-


General Overview of the System- Chap 1 in text book - Pg 15- Pg 32

- History- Pg 15- Pg 18

- System Structure- Pg 18- Pg 20

- User Perspective- Pg 20 - Pg 28
(Sub topics: The File System, Processing Environment, Building Block Primitives)

- Operating System Services- Pg 28 - Pg 29

- Assumptions about Hardware- Pg 29 - Pg 32


(Sub topics: Interrupts and Exceptions, Processor Execution Levels, Memory
Management)

Introduction to the Kernel- Chap 2 in text book - Pg 33- Pg 51

- Architecture of the UNIX Operating System- Pg 33- Pg 36

- Introduction to System Concept- Pg 36 - Pg 48


(Sub topics: Overview of the File Subsystem, Processes-[Context of a process,
Process states, State transitions, Sleep and wakeup])

(2 other topics are there in book which are NOT explicitly mentioned in the
syllabus- KERNEL DATA STRUCTURES, SYSTEM ADMINISTRATION - Pg 48-50- learn these IF
needed)

- EXERCISES- Pg 51

The Buffer Cache- Chap 3 in text book - Pg 52- Pg 73

- Buffer headers- Pg 52- Pg 54

- Structure of the Buffer Pool- Pg 54- Pg 56

- Scenarios for Retrieval of a Buffer- Pg 56- Pg 67


(5 scenarios are there)

- Reading and Writing Disk Blocks- Pg 67- Pg 70

- Advantages and Disadvantages of the Buffer Cache- Pg 70- Pg 71

SUMMARY- Pg 72

- EXERCISES- Pg 72-73

---
Solve below from syllabus- (if required)
o Implement the system call ‘cat’ using command line arguments and generate
the executable version of the program and invoke the executable file using
exec system calls (fork, wait etc).
o Implement a scenario resulting to an incorrect linked list because of context
switch.
o Implement the five scenarios in the getblk algorithm by using first in first out
scheme.
o Simulate the function of bread(), breada(), bwrite and brelse.

You might also like