1 / 18

Introduction to File Systems

Introduction to File Systems. Benedicta Mekoma and Jennifer Ruth Balkeen. Outline. Introduction to File Systems and their function FAT (File Allocation Table) NTFS (New Technology File System). Function of a file system.

thuong
Download Presentation

Introduction to File Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to File Systems Benedicta Mekoma and Jennifer Ruth Balkeen

  2. Outline • Introduction to File Systems and their function • FAT (File Allocation Table) • NTFS (New Technology File System)

  3. Function of a file system • File -is defined as a group of data which is created to be identified for future use. • File properties – each file has attributes (certain characteristics), dates, times, specific structures and user permissions. • Function of a file system – It’s a system to organise files. This is essential to ensure the files are used correctly by the OS (Operating System).

  4. FUNCTION OF A FILE SYSTEM CONTINUED • Management of a File System – This is essential and helpful for larger files as their data will be stored in many fields known as sectors. This allows the information stored in such a file to be retrieved and read in the correct order. • Different File Systems – • FAT (File Allocation Table) is an older file system that has been used for many years. • NTFS (New Technology File System) is a more recent file system.

  5. The Fat file system • It is a simple and common file system. • Deemed simple as there are only a few data structures making it less complex. • Data structures – • Cluster – basic storage unit for a file • Directory – tells you the file name, length of the file and where it begins i.e. file cluster/starting cluster • FAT – tells you current status of the file cluster and points to the next cluster

  6. DIFFERENT FAT FILE SYSTEMS

  7. HOW THE FILES ARE STORED AND ORGANISED • Directory Entry – Each file is referenced and described in a separate directory entry. This directory entry is stored within a partition. • A partition is defined as a collection of consecutive sectors in a volume. This contains the file name, size in bytes, starting file cluster and other metadata (creation date, last accessed and time stamps). • Data Content – is not stored in Directory Entry but in clusters (data allocation units). Clusters have one or more sectors where a file is stored. If a file is too large for one cluster it is assigned more clusters. These are then stored sequentially so a file can retrieved with it being in the correct order to be read and understood by the user. • 512bytes per sector.

  8. Structure of the fat file system Reserved Area – begins in sector 0 and the next sector 1 contains the Volume Boot Sector. The VBR sector indicates the number and size of FATs, number of sectors per cluster and size of Reserved Area. Fat Area – begins directly after Reserved Area and there can be one or two FATs. This area tracks the sequence of the clusters and also tracks and identifies clusters unallocated that are available for storage. Data Area – begins directly after FAT Area. Root Directorylocated at beginning of this area where Directory Entry is stored with filename and metadata.

  9. THE New technology file system • This filing system is more complex and offers multiple enhancement that increases security and overall performance. • Uses advanced data structures to improve reliability and disk utilization • Supports file level encryption • Supports file compression • Offers security access control • Improved support for metadata • What is metadata?

  10. Ntfs contINUED • Metadata Files: used by NTFS to manage the filing system. . All metadata files begin with a $ dollar sign. • Supports file/folder ownership • Supports alternate data streams: A file can be opened using Microsoft word or Microsoft word pad. • Cluster mapping: identifies bad clusters and moves file to another cluster. Can be used to hide data, always examine. • Supporting operating systems : Windows NT, Windows 2000, Windows XP, Vista, Windows 7 • Everything is a file and every file entry can be located in the $MFT table – Master file table

  11. $MFT – master file table • This is a database which contains details of every file in the volume. • Informs the OS of a file’s location and what directory can be found. • Holds record of the metadata files. • The $MFT record contains information such as: • File Name • Last Access • Last Modified • File created • MFT Record number • If the $MFT table is lost, so would all the structures needed to restore a file • Also is the $MFTMirr- This stores a duplicate copy of whatever the $MFT holds and assists in system recovery.

  12. Identifying active file system - ntfs

  13. Identifying active file system – fat32

  14. Permissions

  15. Summary • NTFS is chosen for its ability for recoverability. Fault tolerance, data redundancy and file security. • A selected choice by businesses and corporations because it supports mission critical applications.

  16. Benny and jenny Quiz time • What is your understanding of a file system? • What does FAT stand for? • And NTFS? • And $MTF? • Mention the three data structures of a FAT file system? • Describe the importance of an $MFT table?

  17. SO THAT’S All on the introduction to FILE SYSTEMS ANY QUESTIONS? Image courtesy of Angela Mayfield 2010

More Related