College of Computer Science & Information Technology King Khalid University · جامعة الملك خالد
Week
Week 9
Topic
File Systems
Workload
6–8 Hours
Status
Materials Placeholder
OverviewScheduleObjectivesMaterialsReadingLabAssignmentQuizDownloadsChecklist
Module Overview

Week 9 explains how operating systems organize persistent data. Students study file abstractions, directory structures, metadata, and how file-system data structures map names to blocks.

Lecture
Files, directories, inodes, and file-system layout
Reading
OSTEP Chapters 39–40
Lab
Linux file API and inode inspection
Due
Update date later
Weekly Schedule
TimeActivityWhat Students DoLink
Before LecturePreparation ReadingRead OSTEP Chapters 39–40 and list three pieces of metadata stored for a file.Book →
Lecture 1File-System InterfaceFiles, directories, paths, file descriptors, open/read/write/close, and permissions.Slides →
Lecture 2File-System ImplementationInodes, data blocks, bitmaps, allocation, directory entries, and simple file-system layout.Slides →
Lab SessionFile-System LabUse stat, ls -i, open/read/write, and simple C programs to inspect files and metadata.Lab →
After LectureAssignment 9Write a C program that copies a file and reports basic file metadata.Assignment →
End of WeekQuiz 9Complete short quiz on files, directories, inodes, file descriptors, permissions, and file-system layout.Quiz →
Learning Objectives
Outcome
By the end of Week 9, students should be able to:

Explain file-system abstractions, use Linux file APIs, describe inodes and directories, and reason about file metadata.

FilesInodesDirectoriesFile API
Module 9
Core
Lecture Materials
Slides
Week 9 Lecture Slides

Slides for file systems. Replace this placeholder with your final PDF or Google Slides link.

PDFLectureRequired
Slides
Lecture
Open Slides →
Notes
Week 9 Lecture Notes

Instructor notes and class summary for review after lecture and before assessment.

PDFReviewSummary
PDF
Notes
Download →
Video
Lecture Recording

Placeholder for lecture recording or external video link. Replace this href with YouTube, Blackboard, or local recording URL.

VideoRecordingOptional Review
Video
TBD
Watch →
Code
Starter Code

Starter files, examples, and templates for the Week 9 lab and assignment.

CLinuxStarter
ZIP
Starter
Download →
Reading
Required
OSTEP Chapters 39–40

Complete the assigned reading before lecture. Focus on definitions, mechanisms, tradeoffs, and examples that connect to the lab.

RequiredReadingPreparation
Required
Book/Notes
Open →
Reference
Linux man-pages Project

Use this reference to look up commands, system calls, library calls, and Linux behavior related to this week.

LinuxManualReference
Reference
man7
Open →
Lab
Lab 9
File-System Lab

Use stat, ls -i, open/read/write, and simple C programs to inspect files and metadata.

Hands-onLinuxC
Required
90 min
Open Lab →
Assignment
HW 9
Week 9 Assignment

Write a C program that copies a file and reports basic file metadata. Submit source code, screenshots, and a short explanation.

HomeworkSubmissionReport
10 points
Due TBD
Download →
Quiz
Quiz 9
Week 9 Quiz

Short quiz covering files, directories, inodes, file descriptors, permissions, and file-system layout.

10 Questions15 MinutesOnline
Quiz
TBD
Start →
All Downloads
Files
Week 9 File Package

Central download area for slides, notes, lab, assignment, starter code, and reference files. Replace placeholder paths after uploading final files.

SlidesNotesLabAssignmentCode
Student Checklist
  • □ Complete preparation reading
  • □ Open Week 9 slides
  • □ Review lecture notes
  • □ Complete Lab 9
  • □ Submit Assignment 9
  • □ Complete Quiz 9
  • □ Save screenshots and code
  • □ Prepare questions for next week

Week 10 focuses on I/O systems and storage devices. Students should understand files before studying disks and device interaction.