TITLE
    Mac OS X Server: Wrappers
Article ID:
Created:
Modified:
60387
6/8/99
4/26/00

TOPIC

    When using the Terminal application MacOS.app is actually a directory with a MacOS executable inside it. This article explains the difference between the MacOS.app directory and the MacOS executable.


DISCUSSION

    In this case, MacOS.app is a wrapper. A wrapper is a directory that contains an executable and any resources the executable may need to operate. Wrappers contain the kind information that would be stored in the resource fork of a Mac OS 8 application, such as icons. Resource forks can not be used with Mac OS X Server because the UFS directory structure does not support forked files.

    The Workspace Manager makes directories ending in .app, .pkg, or .mpkg wrappers and thus double clickable. The command line does not have this functionality which is why this difference is noticeable.

    Wrappers can be opened by holding down the Command+Shift+O keys, or by holding down Command+2 and pressing the Open Application Wrapper button.

    Older command line utilities like the ones in /bin and /sbin do not have a wrapper because they do not have a graphical interface, and therefore must be executed at the command line.

Document Information
Product Area: Mac OS System Software
Category: Mac OS X Server
Sub Category: General Topics

Copyright © 2000 Apple Computer, Inc. All rights reserved.