X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Ffilesys.tmpl;h=f3bd101d67f26c2d8c894ef45d5afdc68609f59c;hb=85da529909adac7ed00861d259001b124cd5b54f;hp=e3d6f56808328074359a14b94b4d2991a004d090;hpb=d4067a3abb1ef4537030835952e32f22f0063529;p=pintos-anon diff --git a/doc/filesys.tmpl b/doc/filesys.tmpl index e3d6f56..f3bd101 100644 --- a/doc/filesys.tmpl +++ b/doc/filesys.tmpl @@ -1,8 +1,8 @@ - +-------------------------+ - | CS 140 | - | PROJECT 4: FILE SYSTEMS | - | DESIGN DOCUMENT | - +-------------------------+ + +-------------------------+ + | CS 140 | + | PROJECT 4: FILE SYSTEMS | + | DESIGN DOCUMENT | + +-------------------------+ ---- GROUP ---- @@ -19,10 +19,10 @@ FirstName LastName >> Please cite any offline or online sources you consulted while >> preparing your submission, other than the Pintos documentation, course ->> text, and lecture notes. +>> text, lecture notes, and course staff. - INDEXED AND EXTENSIBLE FILES - ============================ + INDEXED AND EXTENSIBLE FILES + ============================ ---- DATA STRUCTURES ---- @@ -31,7 +31,7 @@ FirstName LastName >> enumeration. Identify the purpose of each in 25 words or less. >> A2: What is the maximum size of a file supported by your inode -structure? +>> structure? Show your work. ---- SYNCHRONIZATION ---- @@ -60,8 +60,8 @@ structure? >> structure, and what advantages and disadvantages does your >> structure have, compared to a multilevel index? - SUBDIRECTORIES - ============== + SUBDIRECTORIES + ============== ---- DATA STRUCTURES ---- @@ -74,9 +74,6 @@ structure? >> B2: Describe your code for traversing a user-specified path. How >> do traversals of absolute and relative paths differ? ->> B3: Look over "pwd.c" in src/examples. Briefly explain how it ->> determines the present working directory. - ---- SYNCHRONIZATION ---- >> B4: How do you prevent races on directory entries? For example, @@ -85,17 +82,17 @@ structure? >> create a file with the same name, and so on. >> B5: Does your implementation allow a directory to be removed if it ->> is in use as a process's current directory? If so, what happens to ->> that process's future file system operations? If not, how do you ->> prevent it? +>> is open by a process or if it is in use as a process's current +>> working directory? If so, what happens to that process's future +>> file system operations? If not, how do you prevent it? ---- RATIONALE ---- >> B6: Explain why you chose to represent the current directory of a >> process the way you did. - BUFFER CACHE - ============ + BUFFER CACHE + ============ ---- DATA STRUCTURES ---- @@ -126,8 +123,8 @@ structure? >> C7: Describe a file workload likely to benefit from buffer caching, >> and workloads likely to benefit from read-ahead and write-behind. - SURVEY QUESTIONS - ================ + SURVEY QUESTIONS + ================ Answering these questions is optional, but it will help us improve the course in future quarters. Feel free to tell us anything you