MFS (Macintosh File System)

MFS is the first Macintosh file system, used on 400 KB and 800 KB floppies from 1984 until HFS replaced it in 1985. It has a flat directory and is found only on very early Mac disks and disk images.

Overview

MFS has a Master Directory Block at 1024 bytes, a block map packed 12 bits per entry (the allocation chain), and a flat directory of file records. There are no real folders; the Finder simulated them. Allocation blocks are chains and each file has a data fork and resource fork.

History

  • Introduced with the Macintosh in 1984.
  • Replaced by HFS in 1985.

Structures

Offsets are in bytes from the start of the structure named in each heading. Field names are descriptive and are not an official specification. Fixed-width integers are shown as u/i (unsigned/signed) followed by bit width and byte order.

Make Entry

OffsetSizeTypeFieldNotes
0x11u8Flags
0x24bytesType
0x64bytesCreator
0x124u32 BENumber
0x162u16 BEData Start
0x184u32 BEData Length
0x202u16 BERsrc Start
0x224u32 BERsrc Length
0x2A4u32 BECreated
0x2E4u32 BEModified
0x321u8Name

Try Parse

OffsetSizeTypeFieldNotes
0x02u16 BE–
0x24u32 BE–
0xC2u16 BE–
0xE2u16 BEDir Start
0x102u16 BEDir Length
0x122u16 BEBlocks
0x144u32 BEBlock Size
0x1C2u16 BE–
0x222u16 BE–
0x241u8–

Constants

Mfs Volume Info

NameValueTypeNotes
Signature0xD2D7ushort
Structures and constants were extracted from the implementation. Prose sections are a summary from public sources; verify details before relying on them.