Evolution of Mac Filesystems - PowerPoint PPT Presentation

1 / 27
About This Presentation
Title:

Evolution of Mac Filesystems

Description:

Root level divided into different devices. Tree ... Journaling Features. HFSX. Inline Attribute Data Records. Access Control List File Security ... – PowerPoint PPT presentation

Number of Views:63
Avg rating:3.0/5.0
Slides: 28
Provided by: johng212
Category:

less

Transcript and Presenter's Notes

Title: Evolution of Mac Filesystems


1
Evolution of Mac Filesystems
  • John Gillespie

2
Brief Overview
HFS
LisaOS
MFS
HFS
3
LisaOS
  • Root level divided into different devices
  • Tree

To reference a file, have to specify device name
and file name. -LISAHDD-FORMAT.TEXT
4
LisaOS
  • No directories, called a flat file system

5
LisaOS Pages
  • Page some chunk of a file
  • Attributes
  • Version
  • Volume Id
  • File Id
  • Amt of data
  • Position in file
  • Forward link
  • Backwards link

6
LisaOS - Files
  • Names
  • Case sensitive
  • Any ASCII, including non-printing
  • 32 characters
  • Space allocation
  • File label
  • LEOF vs PEOF

Example file
7
LisaOS - Labels
  • Early version of forks
  • Application info for file

8
LisaOS Important Structures
  • Bitmap Allocation Table
  • Catalog File

9
LisaOS Redundancy
  • Several copies of important structures
  • File self-knowledge
  • Scavenger
  • Block sparing

10
MFS
  • Macintosh File System
  • 1984
  • Optimized for small, slow media

11
MFS A Few Numbers
12
MFS - Layout
  • Flat file system
  • Empty Folder
  • Could have directories, emulated in finder
  • Page allocation via linked list

13
MFS Catalog File
  • One file
  • Directory handles
  • Good
  • Small file
  • Bad
  • Very slow

14
MFS Notable Items
Resource Forks
  • Data Forks
  • Stores
  • Icons
  • Inserted Images
  • Shapes
  • Menus
  • Important for GUI

15
MFS Notable Items
  • Metadata in resource forks holds information for
    the brand new Mac GUI!

Etc
16
Hierarchical File System
  • Introduced in 1985
  • MFS too slow, too small

17
HFS Catalog File
  • Searching for directory names slow
  • B-Tree
  • 500,000 files lt19 node hops

18
HFS Even Better Numbers
19
HFS Forks 2
  • N-forks

20
HFS Cont.
  • B-trees for allocation
  • Unique Ids for Files

21
HFS - Design
  • First 2 Blocks Boot Blocks
  • Master Directory Block
  • Volume Bitmap
  • Extent Overflow File
  • Catalog File
  • File Thread Record
  • File Record
  • Directory Thread Record
  • Directory Record

22
Hierarchical File System Plus!
  • Introduced in 1998
  • More Allocation Blocks
  • Longer Filenames
  • Larger Files

Thumbs Up To HFS
23
HFS - Great Numbers
24
HFS
  • HFS Wrapper

25
HFS Design
  • HFS Boot Blocks
  • Volume Header
  • Allocation File
  • Catalog File

26
HFS - Volume Design Cont.
  • Extents Overflow File
  • Attributes File
  • Startup File
  • Alternate Volume Header

27
HFS - Upgrades
  • Journaling Features
  • HFSX
  • Inline Attribute Data Records
  • Access Control List File Security

10.2.2 Jaguar
10.3 Panther
10.4 Tiger
Write a Comment
User Comments (0)
About PowerShow.com