A simple FAT based user level file system implementation written in C.
You need to have a file named 'disk' at the directory where myfs.c is located. It can perform following operations: Format, Write, Read, Delete and List.
Compile the source code by using gcc:
gcc -o myfs myfs.c -lmFirst format the disk by using -format option:
./myfs disk -formatThen files can be copied into disk by using -write option:
./myfs disk -write source_file dest_fileThe files inside disk can be copied to elsewhere by using -read option:
./myfs disk -read source_file dest_fileAny file in the disk can be deleted by using -delete option:
./myfs disk -delete fileFiles can be listed any time by using -list option(Names and sizes are printed):
./myfs disk -listDefragmentation, Renaming, Duplicating, Hiding & Unhiding.