Similar presentations

2 Project 3You will create a user-space utility to manipulate a FAT32 file system imageNo more kernel programming!

3 FAT32 Manipulation UtilityUtility only recognizes the following built-in commands:openclosecreatermsizecdlsmkdirrmdirreadwrite

4 File System ImageManipulation utility will work on a pre-configured FAT32 file system imageActually a fileFile system image will have raw FAT32 data structures insideJust like looking at the raw bytes inside of a disk partition

5 File System Image Your FAT32 manipulation utility will have toOpen the FAT32 file system imageRead parts of the FAT32 file system image and interpret the raw bytes inside to service your utility’s file system commands……just like a file system!

6 TerminologyByte – 8 bits of data, the smallest addressable unit in modern processorsSector – Smallest addressable unit on a storage device. Usually this is 512 bytesCluster – FAT32-specific term. A group of sectors representing a chunk of dataFAT – Stands for file allocation table and is a map of files to data