Packaging your software applications

The setsizecvt command

The setsizecvt(1) command generates files in the space(4) format for sets. Before sets were included as packaging objects, the installation tools used space files to specify any additional space the packages required, in addition to that listed in the entries in that package's pkgmap(4) file.

The setsizecvt command was designed to work as simply as possible; the packaging tools process the sets in much the same way they process packages.

Executing in a set's installation directory, setsizecvt collects the space file (if it exists) and the setsize(4) file from each of the packages included in that set. The setsize file is a file whose entries are formatted as follows:

pkg:/path/name #blks #inodes

where pkg is the short form of the package name, and the rest is the directory and number of blocks and inodes used in that directory. This setsize file is created when the sets are created. Typically, the setsize file for a given set would be created from the pkgmap files for all of the packages in that set.

setsizecvt(1) selects those entries in the setsize file for packages (in the current set) that the user wants to install. Those entries are then collected in a new file called space.

pkgadd(1M) uses the space file to see if there is enough space on the disk to install the set. The space file for a set is treated the same way as it is in a package.

Next topic: Quick reference to packaging procedures
Previous topic: The setsize file

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004