Objective : To create an extended version of V6 file sytem to support file size upto 4GB.
- mkdir build/
- Inside build folder cmake ../src
- cmake --build .
- initfs fname num_blocks num_inode
Initializes a v6 file system with num_blocks of blocks and num_inode of i-nodes - open fname
Opens the external file fname which has a v6 file system installed - cpin from_file_name to_file_name
Creates a new file called to_file_name in the v6 file system and fills in the contents of the newly created file with the contents of the external file from_file_name - cpout from_file_name to_file_name
If to_file_name exists in v6 file system,It create a external file to_file_name with from_file_name's content - rm v6_file
if v6_file exist, deletes the file - rmdir v6_directory
if v6_directory exists, deletes the directory - pwd
Lists the file path name of the current directory - ls
Lists the content of current directory - mkdir v6_directory
Creates a directory v6_directory in v6 file system - cd v6_directory
Change current working directory to the dir name - q
Exits the v6 file system