Skip to content
/ FAT32 Public

Program designed for Operating Systems Project

License

Notifications You must be signed in to change notification settings

Arzenith/FAT32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Overview

In this project, we study concepts of file allocation methods by diving into one of the three methods, linked allocation. To apply our knowledge, we constructed a user-space FAT32 file system that loads in a standard FAT32 disk image, allowing the user to run common file-system commands.

To run

Clone the repo, and type ./mfs into your terminal.

Commands to try

Command Description
open <FAT32 image name> Opens the inputted FAT32 disk image
close Closes the currently open FAT32 disk image
info Prints out information about the loaded file system in both decimal and hexadecimal
stat <file name / directory name> Prints out attributes and starting cluster number of inputted folder/directory
get <file name> Retrieves file from FAT32 image and places it in current working directory
cd <directory path> Change directory
ls Lists files in current directory
read <file name> <position> <# of bytes> Prints out n bytes of the inputted file to console from the inputted starting position
del <file name> Deletes inputted file name from current directory
undel Undeletes last deleted file

About

Program designed for Operating Systems Project

Topics

Resources

License

Stars

Watchers

Forks

Languages