readme
来自「操作系统课内实验部分」· 代码 · 共 38 行
TXT
38 行
This project requires implementing the FileSystem.javainterface. We have provided the class JavaFileSystem.javawhich implements this interface, although all methodscurrently throw a RuntimeException. Your task is to remove the RuntimeException and add the logic to each method.Your implementation may be tested using the TestFS.javaclass. This class may be invoked by entering the name of oneof the test scripts in the tests directory. For example, to test the script test1.data, you would enterjava TestFS ./tests/test1.dataFurthermore, you may use just a command line interfacein TestFS.java to test specific methods. If you were to enter: java TestFSyou are presented with the following prompt: -->where you may enter one of the commands that are specified inthe test scripts. For example, to format the disk, you would enter: --> formatDisk 10 2To create a file, you would enter --> file = createTo get the inumber of a file, enter: --> inum = inumber fileScan through the test scripts to see how to enter the command specificto each method in the FileSystem interface.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?