Skip to content
/ FAT-32 Public

A user space shell application that interprets FAT32 file system image.

Notifications You must be signed in to change notification settings

yxu1183/FAT-32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAT32 File System

Operating System/Assignment-4: Created by Dr. Trevor Bakker

Descirption

A user space shell application that interprets FAT32 file system image.

Funtionality

  • Opens and closes the FAT32 image file.
  • Navigates through the image file and prints out following information in both base 10 and base 16:
    • BPB_BytsPerSec
    • BPB_SecPerClus
    • BPB_RsvdSecCnt
    • BPB_NumFats
    • BPB_FATSz32
  • Prints out the attributes and starting cluster number of the file or directory name.
  • Retrives the file from the FAT 32 image and places it onto the current working directory.
  • Implements "cd" command to change the current working directory - supports relative and absolute paths.
  • Implements "ls" command to lists the directory contents.
  • Reads from the given file at the position, in bytes, specified by the position parameter annd output the number of bytes specified.

Things I learned

  • Structure and information about the boot sector.
  • Structure about the individual files in FAT32 system.
  • Extracting files from the FAT 32 image file.

Compilation Instructions

The application is built in an omega server at UTA. In terminal:

gcc mfs.c -o mfs 
mfs

Acknowledgements

About

A user space shell application that interprets FAT32 file system image.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages