This is an implementation of a working file system in Java for UW's ThreadOS. It emulates a UNIX file system with minor differences by implementing inodes, superblocks, file tables and entries, and other components. It is able to allocate and deallocate space, create a virtual directory, and handles active readers and/or writers accordingly.
More information on the project can be found here: https://courses.washington.edu/css430/prog/dimpsey/finalproject.html
Methods:
- Superblock() – constructor
- sync()
- format()
- getFreeBlock()
- returnBlock()
Methods:
- ffree() Similar to readers/writers problem
- initial switch cases for file system manipulation
Methods:
- ialloc()
- ifree()
- namei()
Methods:
- falloc() Similar to readers/writers problem
- sear to perfection