Os Syllabus
Os Syllabus
Course Syllabus
June 2014
SUGGESTED ASSIGNMENTS
1. Short programs with fork() and exec() family of system calls to create parent and child
processes; impact on local, extern and static variables.
2. Study output of ps command in Linux and draw process trees, identify process groups,
session and group leaders, foreground and backgound processes.
4. Write programs for interprocess communication with pipes and popen() calls; pipes across
parent and child processes; pipes across threads.
5. Producer-Consumer problem: restricted and general versions; solutions using mutexes,
condition variables and semaphores.
6. Exploring FILE structure in Linux and the fcntl() and ioctl() calls.
7. Writing a simple device driver for a parallel port; extension to USB port (optional).
TEXTBOOKS:
Recommended:
References:
• Maekawa, M. and Arthur E. Oldehoeft and Oldehoeft, R.R. Operating Systems: Ad-
vanced Concepts, Benjamin Cummings (1987). Available through Google Books.
• David A. Rusling. The Linux Kernel, http://www.tldp.org/LDP/tlk/tlk.html