Presentation is loading. Please wait.

Presentation is loading. Please wait.

File-System Implementation

Similar presentations


Presentation on theme: "File-System Implementation"— Presentation transcript:

1 File-System Implementation
Michael Thomsen Jim Ford-Fleming

2 File-System Structure
Cluster Access Table Mounted Image Cluster Status 512 Byte Cluster 1 2 3 4 5 6 7 8 With a fixed data cluster size of 512 bytes, we can apply the following formula, using the access table status locations, to determine the address of the cluster in the mounted image. Address = n * 512

3 Cluster Structure 512 Byte Cluster Filename (12 Bytes) Data Section
* Each Cluster needs a pointer to the next since this is an Indexed File System Pointer to Next Cluster (20 Bytes)

4 Implemented Functions
Close Closes the specified file Create File Creates a file Delete Deletes a file Find Free Cluster Finds the next free cluster Mount Mounts an image Open Opens the specified file Read Reads a file Unmount Unmounts the image Write Writes to a cluster


Download ppt "File-System Implementation"

Similar presentations


Ads by Google