UNIVERSITY OF WISCONSIN-MADISON
Computer Sciences Department | ||
CS 537
Spring 2001 | A. Arpaci-Dusseau | |
Quiz #8: April 25th -- File Systems |
Name: | Student ID #: |
____ When B is created, the reference count in the i-node of A is incremented. ____ When the contents of A are changed, the contents of B change as well. ____ When the contents of B are changed, the contents of A change as well. ____ When A is removed (e.g., with "rm A"), B still exists. ____ When B is removed (e.g., with "rm B"), A still exists. ____ A and B can be directories. ____ Can be used to create cycles in the directory hierarchy.
____ Linked a. Single pointer to file-data and its size ____ Indexed b. Array containing multiple pointers and their sizes ____ Contiguous c. Pointer to first block of file ____ Extent-based d. Array containing pointers to every block of file
A)What is the largest possible file that can be supported with this design? Show your work (as an expression) to make sure you get credit; if your expression is correct, you will get full credit (i.e., you shouldn't calculate the final numeric answer!).
B) Assume that the operating system has already read the i-node for your file into main memory (i.e., the file buffer cache). How many disk reads are required to read data block number 800 into memory? To assure full credit, describe each disk read.