Presentation on theme: "Recap – Intro to Project 3 and FAT32"— Presentation transcript:
1 Recap – Intro to Project 3 and FAT32 Classes COP4610 / CGS5765Florida State University
2 Project 3You will create a user-space utility to manipulate a FAT32 file system imageNo more kernel programming!
3 FAT32 Manipulation Utility Utility 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 to Open 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
7 FAT32 Disk Layout 3 main regions… Reserved Region FAT Data Disk arm TrackSector
8 Additional Reserved Sectors (Optional) Reserved RegionReserved Region – Includes the boot sector, the extended boot sector, the file system information sector, and a few other reserved sectorsReservedRegionFATDataBoot SectorFS Information SectorAdditional Reserved Sectors (Optional)
9 FAT RegionFAT Region – A map used to traverse the data region. Contains mappings from cluster locations to cluster locationsReservedRegionFATDataFile Allocation Table #1Copy of File Allocation Table #1
10 Data until end of partition Data RegionData Region – Using the addresses from the FAT region, contains actual file/directory dataReservedRegionFATDataData until end of partition
Your consent to our cookies if you continue to use this website.