Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time

ext2 CLI Tools

Click here for handout

Implementation of command line tools for the EXT2 File System. This was done for CSC369 - Operating Systems Assignment 4. Each tool takes a disk image which is setup in a particular way to test our implementation. All images that can be passed in are here. We implement the following:

  • mkdir <img> <name>: Make a new directory called name
  • cp <img> <src> <dest> : Copy src to dest
  • ln <img> <src> <dst>: Create a link to src in dest
  • rm <img> <src> : Remove src
  • restore <img> <src> : Restore the removed file src
  • checker <img> : Check the disk image img