O'Reilly logo

Mac OS X Panther for Unix Geeks, Second Edition by Ernest E. Rothman, Brian Jepson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Disk Images

Many applications in Mac OS X do not require a special installer. Often, they can be installed by simply dragging the application’s folder or icon to a convenient location in the directory structure, usually the /Applications folder. Applications that are distributed this way are typically packaged as a disk image. A disk image is a file that, when double-clicked, creates a virtual volume that is mounted as shown in Figure 12-6.

A disk image and its mounted volume

Figure 12-6. A disk image and its mounted volume

Tip

You can turn a Java application into a .app with Jar Bundler (/Developer/Applications/Java Tools). Since Mac OS X comes with Java, you can place your Java application on a disk image, secure in the knowledge that any Mac OS X user can double-click on the application to launch it.

Disk images can be created by using Disk Utility (/Applications/Utilities) or via the command line (described later). There are two types of disk images. One is a dual fork disk image with an .img extension, and the other is a single fork ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required