Application Packaging Developer's Guide

ProcedureHow to Reserve Additional Space on a Target System

  1. Make the directory that contains your information files the current working directory.

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

    Specify any additional disk space requirements needed by your package. Use this format:


    pathname blocks inodes
    
    pathname

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

    blocks

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

    inodes

    Specifies the number of required inodes.

    For more information, see the space(4) man page.

  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.


Example 3–4 space File

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


/opt   1000   1

See Also

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 these tasks and provides step-by-step instructions on how to transfer your verified package to a distribution medium.