Syllabus

CS2028       UNIX INTERNALS

 

UNIT I

General Review of the System-History-System structure-User Perspective-Operating System Services- Assumptions About Hardware. Introduction to the Kernel-Architecture

System Concepts-Data Structures- System Administration.

 

UNIT II

The Buffer Cache-Headers-Buffer Pool-Buffer Retrieval-Reading and Writing Disk Blocks - Advantages and Disadvantages. Internal Representation of Files-Inodes- Structure-Directories-Path Name to Inode- Super Block-Inode Assignment-Allocation of Disk Blocks -Other File Types.

 

UNIT III

System Calls for the File System-Open-Read-Write-Lseek-Close-Create-Special files Creation -Change Directory and Change Root-Change Owner and Change Mode-Stat- Fstat-Pipes-Dup-Mount-Unmount-Link-Unlink-File System Abstraction-Maintenance.

 

UNIT IV

The System Representation of Processes-States-Transitions-System Memory-Context of a Process-Saving the Context-Manipulation of a Process Address Space-Sleep Process Control-signals-Process Termination-Awaiting-Invoking other Programs-The Shell-System Boot and the INIT Process.

 

UNIT V

Memory Management Policies-Swapping-Demand Paging-a Hybrid System-I/O Subsystem-Driver Interfaces-Disk Drivers-Terminal Drivers.

 

TEXT BOOK

1.    Maurice J. Bach, "The Design of the Unix Operating System", Pearson Education, 2002.

 

REFERENCES

1.    Uresh Vahalia, "UNIX Internals: The New Frontiers", Prentice Hall, 2000.

2.    John Lion, "Lion's Commentary on UNIX", 6th edition, Peer-to-Peer Communications, 2004.

3.    Daniel P. Bovet & Marco Cesati, “Understanding the Linux Kernel”, O’REILLY,Shroff Publishers &Distributors Pvt. Ltd, 2000.

4.      M. Beck et al, “Linux Kernel Programming”, Pearson Education Asia, 2002