Operating Systems 2017F: Assignment 3

From Soma-notes
Revision as of 13:38, 14 November 2017 by Soma (talk | contribs) (Created page with "'''This assignment is not yet finalized.''' Please submit the answers to the following questions via CULearn by 11:55 PM on Thursday, November 20, 2017. There are ?? points i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This assignment is not yet finalized.

Please submit the answers to the following questions via CULearn by 11:55 PM on Thursday, November 20, 2017. There are ?? points in ?? questions.

Submit your answers as a single text file named "<username>-comp3000-assign3.txt" (where username is your MyCarletonOne username). The first four lines of this file should be "COMP 3000 Assignment 3", your name, student number, and the date of submission. You may wish to format your answers in Markdown to improve their appearance.

No other formats will be accepted. Submitting in another format will likely result in your assignment not being graded and you receiving no marks for this assignment. In particular do not submit an MS Word or OpenOffice file as your answers document!

Don't forget to include what outside resources you used to complete each of your answers, including other students, man pages, and web resources. You do not need to list help from the instructor, TA, or information found in the textbook.

Questions

  1. [1] If you erase the first few blocks of a filesystem, it will become unmountable; however, fsck will generally be able to fix the filesystem. What allows fsck to do the repair?
  2. [2] How can the logical size of a filesystem be larger than the physical size? How can the logical size be smaller than the physical size?
  3. [1] Sometimes the kernel will refuse to unmount a filesystem (when the requesting user has sufficient privileges). What is one important reason why this happens?
  4. [1] Describe one way for a Linux kernel module to generate an "Oops" message.