Application Packaging Developer's Guide

How to Reserve Additional Space on a Target System

  1. Make the directory containing your information files the current working directory.

  2. Create a file named space with your favorite text editor.

    Enter any additional disk space requirements needed by your package, using this format:

    pathname  blocks  inodes


    Specifies a directory name, which may or may not be the mount point for a file system. 


    Specifies the number of 512-byte blocks that you want reserved. 


    Specifies the number of required inodes. 

    For more information, see space(4).

  3. Save your changes and quit the editor.

  4. Complete one of the following tasks.

  5. Build your package.

    See How to Build a Package, if needed.

Where to Go Next

After you build the package, install it to confirm that it installs correctly and verify its integrity. Chapter 4, Verifying and Transferring a Package explains how to do this and provides step-by-step instructions on how to transfer your verified package to a distribution medium.

Example—space File

This example space file specifies that 1000 512-byte blocks and 1 inode be set aside in /opt on the target system.

/opt   1000   1