System folder

Last updated

The System folder is the directory in the classic Mac OS that holds various files required for the system to operate, such as fonts, system extensions, control panels, and preferences.

Contents

System Folder locationmacOS equivalentDescription
Extensions/System/Library/Extensions
/Library/Extensions
Classic Mac: Stores OS extensions (init format)
macOS: Stores kernel extensions and drivers (kext format)
Startup Items/System/Library/StartupItems
/Library/StartupItems
Stores files or scripts to be executed at boot time.
Control Panels/System/Library/PreferencePanes
/Library/PreferencePanes
Classic Mac: Stores system configuration programs, which are loaded at boot time.
macOS: Stores the various properties that appear in System Preferences.
Preferences/Library/PreferencesStores various application and system preferences.

Note: On macOS, files in /Library are not loaded at boot time when booting into Safe Mode.

Location and "blessed" folders


The System Folder is normally located directly below the root directory in the filesystem hierarchy, but does not need to be. The Mac OS identifies the "System Folder" by undocumented characteristics that are independent of its name (it has different names in non-English versions of the Mac OS), or its location in the directory hierarchy. The Macintosh Finder displays this "blessed" folder with a special icon. A "live" System Folder can freely be moved to any location in the directory hierarchy while the OS is operating, and it will continue to operate with no problems after the folder has been moved and after the system is restarted with the folder in its new location.

When the Finder copies a "blessed" folder to a new volume, the copy is "blessed" as well. On a system with more than one disk volume, it is thus easy to create functioning backups of a system simply by dragging the folder. It is also easy to maintain older and newer versions of the OS "in parallel", each on its own volume, and revert to the old one if problems are encountered with the new one.

This degree of flexibility distinguishes the classic Mac OS from most other operating systems, including macOS.

All versions of Mac OS permit multiple copies of the operating system on a single volume. Mac OS 9 added formal support for this by permitting the user to select from multiple copies of the system on the same volume via the Startup Disk control panel, primarily used for selecting which volume to boot from.

Prior to this, one would have to manually bless the copy of the System Folder that they wished to use. A folder can be de-blessed by removing either the System or Finder files from it, which are the two files required for booting. (New World Macintoshes also need the Mac OS ROM file.) Some versions of the classic Mac OS, 8.5 and upwards, check the blessed System Folder before shutdown and warn the user if the System Folder is missing any of the key system files, to prevent them from inadvertently rendering the hard drive unbootable. An alternative to manually blessing the system folders in the Mac OS was to use a utility like System Picker.

Blessing is continued for mactel machines running macOS with an EFI system, albeit in a mostly different manner. See EFI system partition § macOS and the two types of booting for Apple's BootX bootloader. [1]

User accessibility and customization

The System Folder is less protected than the equivalent folders on macOS, in that the contents are all viewable and most files and folders are editable. However it was possible to prevent inexperienced users from accidentally altering the contents by using the Protect System Folder Contents checkbox in the General Controls Control Panel. The Startup and Shut Down programs, Appearance themes, control panels, fonts, and extensions, as well as items in the Apple Menu, are controlled by adding or removing items from folders in the System Folder.

This process was made more convenient when Apple implemented the Extensions Manager , itself a Control Panel that was originally a shareware utility by Ricardo Batista. This allowed activation and deactivation of Control Panels, Extensions, Startup Items and Shutdown Items, and could be invoked fairly early in the boot process by holding down the space bar on the keyboard.

One notable absence was the managements of Fonts. For this, Apple allowed Third-party development of font management programs such as Extensis Suitcase, Adobe Type Manager and AlSoft MasterJuggler.

Related Research Articles

Hierarchical File System (HFS) is a proprietary file system developed by Apple Inc. for use in computer systems running Mac OS. Originally designed for use on floppy and hard disks, it can also be found on read-only media such as CD-ROMs. HFS is also referred to as Mac OS Standard, while its successor, HFS Plus, is also called Mac OS Extended.

System 7 Apple Macintosh operating system released between 1991–1997

System 7, codenamed "Big Bang", and also known as Mac OS 7, is a graphical user interface-based operating system for Macintosh computers and is part of the classic Mac OS series of operating systems. It was introduced on May 13, 1991, by Apple Computer, Inc. It succeeded System 6, and was the main Macintosh operating system until it was succeeded by Mac OS 8 in 1997. Features added with the System 7 release included virtual memory, personal file sharing, QuickTime, QuickDraw 3D, and an improved user interface.

FileVault

FileVault is a disk encryption program in Mac OS X 10.3 (2003) and later. It performs on-the-fly encryption with volumes on Mac computers.

Mac OS 8

Mac OS 8 is an operating system that was released by Apple Computer, Inc. on July 26, 1997. It represents the largest overhaul of the classic Mac OS since the release of System 7, approximately six years before. It emphasizes color more than prior versions. Released over a series of updates, Mac OS 8 represents an incremental integration of many of the technologies which had been developed from 1988 to 1996 for Apple's overly ambitious OS named Copland. Mac OS 8 helped modernize the Mac OS while Apple developed its next-generation operating system, Mac OS X.

Macintosh File System (MFS) is a volume format created by Apple Computer for storing files on 400K floppy disks. MFS was introduced with the original Apple Macintosh computer in January 1984.

System Preferences is an application included with the macOS operating system that allows users to modify various system settings which are divided into separate Preference Panes. The System Preferences application was introduced in the first version of Mac OS X to replace the control panel that was included in the classic Mac OS. Prior to Mac OS X, a control panel is a small application which enabled the user to modify software and hardware settings such as the sound volume and desktop pattern. Control panels differ from extensions in that they allow the user to specify options, whereas extensions provide the user with no interface for setting preferences. In many software distributions Extensions provided the functionality and the corresponding Control Panel provided all the configuration options.

On the classic Mac OS, extensions were small pieces of code that extended the system's functionality. They were run initially at start-up time, and operated by a variety of mechanisms, including trap patching and other code modifying techniques. Initially an Apple developer hack, extensions became the standard way to provide a modular operating system. Large amounts of important system services such as the TCP/IP network stacks and USB and FireWire support were optional components implemented as extensions. The phrase "system extension" later came to encompass faceless background applications as well.

launchd is an init and operating system service management daemon created by Apple Inc. as part of macOS to replace its BSD-style init and SystemStarter. There have been efforts to port launchd to FreeBSD and derived systems.

Extension conflicts were sometimes a problem on Apple Macintosh computers running the classic Mac OS, especially System 7. Extensions were bundles of code that extended the operating system's capabilities by directly patching OS calls, thus receiving control instead of the operating system when applications made system calls. Generally, once an extension completed its task, it was supposed to pass on the system call to the operating system's routine. If multiple extensions want to patch the same system call, they end up receiving the call in a chain, the first extension in line passing it on to the next, and so on, until the last extension passes to the operating system. If an extension does not hand the next extension in line what it is expecting, problems occur; ranging from unexpected behavior to full system crashes. This is triggered by several factors such as carelessly programmed and malicious extensions that change or disrupts the way part of the system software works.

In NeXTSTEP, OPENSTEP, GNUstep, and their lineal descendants macOS and iOS, a bundle is a file directory with a defined structure and file extension, allowing related files to be grouped together as a conceptually single item.

Apple–Intel architecture Unofficial name used for Macintosh models that use Intel x86 processors

The Apple–Intel architecture, or Mactel, is an unofficial name used for Apple Macintosh personal computers developed and manufactured by Apple Inc. that use Intel x86 processors, rather than the PowerPC and Motorola 68000 ("68k") series processors used in their predecessors. With the change in architecture, a change in firmware became necessary; Apple selected the Intel-designed Extensible Firmware Interface (EFI) as its comparable component to the Open Firmware used on its PowerPC architectures, and as the firmware-based replacement for the PC BIOS from Intel. With the change in processor architecture to x86, Macs gained the ability to boot into x86-native operating systems, while Intel VT-x brought near-native virtualization with Mac OS X as the host OS.

The System suitcase is one of two principal files comprising the classic Mac OS from the original release to OS 9.2.2, the other being the Macintosh Finder. The suitcase is located in the System Folder along with the Finder file and contains keyboard layouts, FKEY resources, sounds, and in System 6, bitmap fonts and Desk Accessories. In versions released up to and including System 6, the Font/DA Mover has to be used to move these into or out of the System suitcase.

In the Apple macOS operating system, .DS_Store is a file that stores custom attributes of its containing folder, such as the position of icons or the choice of a background image. The name is an abbreviation of Desktop Services Store, reflecting its purpose. It is created and maintained by the Finder application in every folder, and has functions similar to the file desktop.ini in Microsoft Windows. Starting with a full stop (period) character, it is hidden in Finder and many Unix utilities. Its internal structure is proprietary, but has since been reverse-engineered. Starting at macOS 10.12 16A238m, Finder will not display .DS_Store files.

The EFIsystem partition or ESP is a partition on a data storage device that is used by computers adhering to the Unified Extensible Firmware Interface (UEFI). When a computer is booted, UEFI firmware loads files stored on the ESP to start installed operating systems and various utilities.

Time Machine (macOS)

Time Machine is a backup software application distributed as part of macOS, desktop operating system developed by Apple. The software is designed to work with AirPort Time Capsule, the Wi-Fi router with built-in hard disk, as well as other internal and external disk drives. It was introduced in Mac OS X Leopard.

Apple menu

The Apple menu is a drop-down menu that is on left side of the menu bar in the classic Mac OS, macOS and A/UX operating systems. The Apple menu's role has changed throughout the history of Apple Inc.'s operating systems, but the menu has always featured a version of the Apple logo.

BootX (Apple)

BootX is a software-based bootloader designed and developed by Apple Inc. for use on the company's Macintosh computer range. BootX is used to prepare the computer for use, by loading all required device drivers and then starting-up Mac OS X by booting the kernel on all PowerPC Macintoshes running the Mac OS X 10.2 operating system or later versions.

System 1

The Macintosh "System 1" is the first version of Apple Macintosh operating system and the beginning of the classic Mac OS series. It was developed for the Motorola 68000 microprocessor. System 1 was released on January 24, 1984, along with the Macintosh 128K, the first in the Macintosh family of personal computers. It received one update, "System 1.1" on December 29, 1984, before being succeeded by System 2.

In the Apple macOS operating system, a package is a file system directory that is normally displayed to the user by the Finder as if it were a single file. Such a directory may be the top-level of a directory tree of objects stored as files, or it may be other archives of files or objects for various purposes, such as installer packages, or backup archives.

Classic Mac OS

Classic Mac OS refers to the series of operating systems developed for the Macintosh family of personal computers by Apple Inc. from 1984 to 2001, starting with System 1 and ending with Mac OS 9. The Macintosh operating system is credited with having popularized the graphical user interface concept. It was included with every Macintosh that was sold during the era in which it was developed, and many updates to the system software were done in conjunction with the introduction of new Macintosh systems.

References

  1. "apple-opensource/bless". GitHub. Retrieved 6 January 2020.