In this chapter, we present the source code for a Java server that implements the file system we developed in
Chapter 5 (see
Chapter 11 for the corresponding client). The code we present here is fully functional, apart from the required interlocking for threads. (We examine threading issues in detail in
Section 28.9.)