🚀
Pintos
  • 🌈Welcome to Pintos
  • Getting Started
    • Environment Setup
    • Build and Run
      • Building Pintos
      • Running Pintos
    • Debug and Test
      • Testing
      • Debugging
    • Grading
  • Project Description
    • Lab0: Getting Real
      • Background
      • Your Tasks
      • FAQ
      • Submission
    • Lab1: Threads
      • Background
      • Suggestions
      • Your Tasks
      • FAQ
      • Submission
    • Lab2: User Programs
      • Background
      • Suggestions
      • Your Tasks
      • FAQ
      • Submission
    • Lab3a: Demand Paging
      • Background
      • Suggestions
      • Your Tasks
      • FAQ
      • Submission
    • Lab3b: Mmap Files
      • Your Tasks
      • FAQ
      • Submission
    • (Optional) Lab4: File Systems
      • Background
      • Suggestions
      • Your Tasks
      • FAQ
  • Appendix
    • Code Guide
      • Loading
      • Threads
      • Synchronization
      • Interrupt Handling
      • Memory Allocation
      • Virtual Addresses
      • Page Table
      • Hash Table
    • 4.4BSD Scheduler
    • C Standards
    • Project Documentation
    • Development Tools
    • Bibliography
  • Code Browser
Powered by GitBook
On this page
  1. Project Description
  2. (Optional) Lab4: File Systems

Suggestions

PreviousBackgroundNextYour Tasks

Last updated 2 years ago

Suggested Order of Implementation

To make your job easier, we suggest implementing the parts of this project in the following order:

  1. Buffer cache (see section ).

    • Implement the buffer cache and integrate it into the existing file system.

    • At this point all the tests from project 2 (and project 3, if you're building on it) should still pass.

  2. Extensible files (see section ).

    • After this step, your project should pass the file growth tests.

  3. Subdirectories (see section ).

    • Afterward, your project should pass the directory tests.

  4. Remaining miscellaneous items.

You can implement extensible files and subdirectories in parallel if you temporarily make the number of entries in new directories fixed.

You should think about synchronization throughout.

Buffer Cache
Indexed and Extensible Files
Subdirectories