M5: Unix Filesystems & Advanced Kernel Subsystems

In this final module, we will look at some remaining subsystems (i.e., components) of the Unix Kernel. Specifically, how Unix manages users, files, i/o, its filesystems and the startup and shutdown process for a Unix system.

Pre-recorded Lectures

Note: Professor Samuels will state on Ed when the prerecorded videos are ready to be viewed each week for a module.

The pre-recorded lectures are available here: M5 Videos. You can also find the videos under the “Panopto” tab on the MPCS 51082 canvas site.

The lectures are a series of approx 15-20 minute videos. Please come back here weekly as the videos will be updated if a module spans multiple weeks. This module includes the following videos:

  • 5.0: Introduction to File I/O

  • 5.1: Unix I/O Functions

  • 5.3: Standard I/O Functions

The slides presented in these videos are accessible in the upstream repository.

Resources/Readings

  • The slides and code presented in this module are accessible in the upstream repository.

  • The Linux Programming Interface: A Linux and UNIX System Programming Handbook readings:
    • Chapter 4.1-4.6

    • Chapter 5.4 - 5.5

    • Chapter 20.1 - 20.8

Synchronous Sessions (In-person Lecture)

As a reminder here are the dates and times for the synchronous session for this module:

Week 9

  • Dates/Times
    • Section 1: Monday November 27th 10:20am-12:20pm

    • Section 2: Thursday November 30th 5:30pm-7:20pm

  • Session Outline
    • Unix User Management

    • Interacting with Unix Files in the Shell

    • Unix Filesystems

    • Shutdown and Startup process of Unix [if time permits]

Assignment

Assignments are always due on Friday evenings.