DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Packaging your software applications

The setsizecvt command

The setsizecvt(C) command generates files in the space(F) 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(F) 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(F) 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(C) 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(ADM) 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

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003