Macintosh File System
{{short description|Disk file system by Apple Computer}}
{{About|the MFS file system|other Macintosh file systems|Macintosh file system (disambiguation)}}
{{No footnotes|date=September 2013}}
{{Infobox filesystem
| name = MFS
| developer = Apple Computer, Inc.
| full_name = Macintosh File System
| introduction_date = {{Start date and age|1984|01|24}}
| introduction_os = System 1
| succeeded_by = HFS
| partition_id = Apple_MFS
(Apple Partition Map)
| directory_struct = Table
| file_struct = Linked list
| bad_blocks_struct = No
| max_file_size = 20 MiB
| max_files_no = 4094
| max_filename_size = 255 characters
| max_volume_size = 20 MiB
| dates_recorded = Creation, modification
| filename_character_set = Any printable character except “{{mono|:}}”
| date_range = {{date|1904-01-01|MDY}} – {{date|2040-02-06|MDY}}
| date_resolution = 1s
| forks_streams = Only 2 (data and resource)
| attributes = version, locked, type, creator, Finder window, location in Finder window, Finder flags
| file_system_permissions = No
| compression = No
| encryption = No
| OS = System 1 — Mac OS 7.6,
Mac OS 7.6.1 (read-only)
}}
Macintosh File System (MFS) is a volume format (or disk file system) created by Apple Computer for storing files on 400K floppy disks. MFS was introduced with the original Apple Macintosh computer in January 1984.
MFS is notable both for introducing resource forks to allow storage of structured data, and for storing metadata needed to support the graphical user interface of the classic Mac OS. MFS allows file names to be up to 255 characters in length,{{Cite magazine |last=Langowski |first=Jörg |date=April 1985 |title=Disks |url=http://mactech.com/articles/mactech/Vol.01/01.05/Disks/ |magazine=MacTech |volume=1 |issue=5 |archive-url=https://web.archive.org/web/20070927021320/http://mactech.com/articles/mactech/Vol.01/01.05/Disks/ |archive-date=2007-09-27 |access-date=2023-03-23 |url-status=dead}} although Finder does not allow users to create names longer than 63 characters (31 characters in later versions). MFS is called a flat file system because it does not support a hierarchy of directories.
Folders exist as a concept on the original MFS-based Macintosh, but work completely differently from the way they do on modern systems. They are visible in Finder windows, but not in the open and save dialog boxes.{{Cite magazine |last=Brecher |first=Steve |title=HFS File Structure Explained |url=http://www.mactech.com/articles/mactech/Vol.01/01.12/HFSFileStructure/index.html |magazine=MacTech |volume=1 |issue=12 |archive-url=https://web.archive.org/web/20080426003220/http://www.mactech.com/articles/mactech/Vol.01/01.12/HFSFileStructure/index.html |archive-date=2008-04-26 |access-date=2023-03-23 |url-status=dead}} There is always one empty folder on the volume, and if it is altered in any way (such as by adding or renaming files), a new Empty Folder appears, thus providing a way to create new folders. MFS stores all of the file and directory listing information in a single file. The Finder creates the illusion of folders, by storing all files as pairs of directory handles and file handles. To display the contents of a particular folder, MFS scans the directory for all files in that handle. There is no need to find a separate file containing the directory listing.
The Macintosh File System does not support volumes over 20 MB in size, or about 1,400 files.{{Citation needed|date=March 2023|reason=Page 121 of Inside Macintosh Volume II (from the Bibliography section) describes the volume information structure, and while it doesn't explicitly state limits, the use of a four-byte integer for allocation block size and the use of a four-byte integer for end-of-fork locations two pages later implies that volumes up to 2 GB or 4 GB are representable.}} While this is small by today's standards, at the time it seemed very expansive when compared to the Macintosh's 400 KB floppy drive.
Apple introduced Hierarchical File System as a replacement for MFS in September 1985. In Mac OS 7.6.1, Apple removed support for writing to MFS volumes “as such writes often resulted in errors or system hangs”,{{Cite web|url=https://developer.apple.com/technotes/tn/tn1096.html |title=Technote 1096: Mac OS 7.6.1 |publisher=Apple Inc. |access-date=2013-09-16 |archive-url=https://web.archive.org/web/19990429061118/https://developer.apple.com/technotes/tn/tn1096.html |archive-date=1999-04-29 }} and in Mac OS 8.0 support for MFS volumes was removed altogether. Although macOS (formerly Mac OS X) has no built-in support for MFS, an example VFS plug-in from Apple called MFSLives provides read-only access to MFS volumes.{{Cite web |date=2006-11-09 |title=MFSLives |url=https://developer.apple.com/library/archive/samplecode/MFSLives/Introduction/Intro.html |access-date=2023-03-13 |website=Apple Developer Documentation Archive}}
See also
Citations
{{Reflist}}
General and cited references
- {{cite book |author=Apple Computer, Inc. |date=1985 |title=Inside Macintosh Volume II |location=New York |publisher=Addison-Wesley |ISBN=0-201-17732-3}}
External links
- [https://web.archive.org/web/20080226120702/http://docs.info.apple.com/article.html?artnum=9502 Apple Tech Article 9502]—MFS volume support in Mac OS 7.x
- [https://web.archive.org/web/20071016214449/http://homepage.mac.com/senorwences/mfs-floppies/resurrect-floppies.html Resurrecting MFS Macintosh Floppies]
- [http://www.savetz.com/ku/ku/cranston_fred_s_follies_july_1987.html Fred's Follies]—HFS used in Macs with 128K ROMs different from MFS used in Macs with 64K ROMs
- [http://www.mac512.com/macwebpages/qamacplus.htm Q&A: Mac Plus] {{Webarchive|url=https://web.archive.org/web/20070716124352/http://www.mac512.com/macwebpages/qamacplus.htm |date=2007-07-16 }}—limitation due to MFS on an external 400K floppy drive disk
{{Mac OS}}
{{File systems}}