Midterm 2 Practice Exam, Problem 3: Filesystem¶
Midterm 2 practice exam, problem 3 of 6 · Length: 7:36 · Exercise: 40k_filesystem (Week 11) · Problems: Practice exam (PDF) · Answer key: Solutions (PDF)
Two parts, worked on the exam's pages 7 and 8: (a) what six write and read calls return, in a table, and why read does not return the old bytes past the file's size; (b) what dircreate returns on a file when dirlookup leaves out its directory check, and why that is a problem. The answer key's handwriting is written onto the exam page as each step is worked.
Download the video (MP4, 14 MB) · Captions (WebVTT) · All six problems