1 / 29

Windows File Systems

Windows File Systems. CGS2564. C:DocumentsTaxesTax04.DOC. Who Cares?. Formatting a Disk. Organizes tracks and sectors Sets up data structures on first track Boot sector Root directory File allocation table (2) Performs surface scan Checks for bad sectors. Disk Data Structures.

winka
Download Presentation

Windows 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. Windows File Systems CGS2564

  2. C:\Documents\Taxes\Tax04.DOC Who Cares?

  3. Formatting a Disk • Organizes tracks and sectors • Sets up data structures on first track • Boot sector • Root directory • File allocation table (2) • Performs surface scan • Checks for bad sectors

  4. Disk Data Structures

  5. Boot Sector • Information about the disk itself

  6. Disk Directory • A database of what is on the disk

  7. File Allocation Table • A table of where files are located

  8. Units on a Disk • Sector – the smallest unit of data storage • 512 bytes (½ K) • “Allocation Unit” or “Cluster” • The actual minimum space allotted to a file • One ormore sectors

  9. File Systems

  10. FAT 16 • Inefficient storage on large disks • Size of FAT is fixed (216 entries) • As disk capacity increases cluster size increases • Maximum disk size = 2 GB

  11. FAT 32 • More efficient storage on large disks • Increased FAT size (232 entries) • So cluster size can be decreased • Maximum disk size = 32 GB

  12. NTFS • Uses Master File Table system (MFT) • Even more efficient use of disk space • Support for larger disk sizes • Windows File Protection feature (WFP) • Prevents alteration or deletion of critical system files • Extended file attributes • File permissions But • Not accessible by other file systems

  13. NTFS Cluster Size

  14. File Systems and Cluster Size

  15. Wasted space not used by a file Slack Space

  16. Comparison of Cluster Usage

  17. File Attributes • Archive • Indicates if file has changed • Used by backup programs • Read-only • Protect file from being overwritten • Hidden • Hide file from view • Additional NTFS Attributes • Compress • Encrypt • Index

  18. Filenames • Pre Windows 95 • 8 characters max • No spaces • VFAT - Windows 95/98MFT – Windows 2000 • Support for long filenames and spaces • Stores two differentfilenames for each file • For backward compatibility

  19. Long Filenames

  20. Aliases • MS-DOS filenames for long filenames

  21. Drive:\Directory\Subdirectory\Filename.ext File Path C:\My Documents\Assignments\Assign03.doc

  22. Types of Files • User Data Files • Created by user in application

  23. Types of Files • Program Files • Make up application itself

  24. Types of Files • Executable files • Actually “run” the program • Extensions • .exe • .com • .bat

  25. File Association • Or “Registered” File type • Association between • A file extension and A file type Then between • That file type and A program’s executable file

  26. File Association Extension File Type Executable File .DOC MICROSOFT WORD DOCUMENT WINWORD.EXE .BMP BITMAP IMAGE MSPAINT.EXE .TXT TEXT DOCUMENT NOTEPAD.EXE

  27. Types of Files • Binary files • Contain program instructions, document information, formatting codes, etc. • User data and program files • Pure text or “ASCII” files • Contain only standard text characters • User data and program files • How to tell? • View in Notepad

  28. Pure Text File

  29. Binary File

More Related