ADC Home > Reference Library > Technical Notes > Legacy Documents > Carbon >
Legacy Document
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
IntroductionUnder certain circumstances it is necessary to determine which file system is currently running on a particular volume. For example, on a 64K ROM machine, your application (i.e., especially disk recovery utilities or disk editors, etc.) may need to check for MFS versus HFS. Note that this is usually not necessary, because all ROMs, except the original 64K ROMs, include HFS. If your application only runs on 128K ROMs or newer, you do not need to check for HFS versus MFS. You may need to check if a particular volume is in High Sierra, ISO 9660, or audio CD format. Before performing these file system checks, be sure to call To check for HFS on 64K ROM machines, check the low-memory global
If an application determines that it is running under HFS, it should not assume that all mounted volumes
are HFS. To check individual volumes for HFS, call To find out if a volume uses a file system other than HFS or MFS, call When dealing with High Sierra and ISO 9660 formats, do not assume that the volumes are CD-ROM discs. Support for these file systems is done with the External File System hook in the File Manager, so any block-based media could potentially be in these formats. It is possible to have a High Sierra formatted floppy disk, although it would be useless except for testing purposes. ReferencesInside Macintosh, Volume IV, File Manager Technical Note M.FL.ISO9660 -- ISO 9660 & High Sierra CD-ROM Formats Technical Note M.OV.GestaltSysEnvirons -- _Gestalt & _SysEnvirons - a Never Ending Story Downloadables
|