Software Distributor Administration Guide (March 2009)

Table Of Contents
(This example does not specify the depot location because it is assumed that the software
is located in the default /var/spool/sw on svrhost.)
For more information about verifying installed software, see “Verifying Your Installation
(swverify)” (page 74)
10.6.11 Packaging Patch Software
A number of software attributes are available to all software levels (bundles, products,
subproducts, and filesets) that permit packaging of patch software. For complete
information on patch attributes and a sample PSF, see Chapter 5: “HP-UX Patching
and Patch Management” (page 133).
10.6.12 Writing to Multiple Tapes
When you package products to a distribution tape, the media_capacity option
defines the size of the tape media (in one million byte units). The default value for this
option is media_capacity=1330, which is the size of an HP DDS tape. If the target
tape is not a DDS tape, you must specify the media_capacity value.
NOTE: The capacity of the DDS tape is in one million byte units (1,000,000 bytes), not
Mbyte units (1,048,576 bytes). Most tape drive manufacturers specify capacity in
one-million byte units.
If the products being packaged require more space than the specified media capacity,
swpackage will partition the products across multiple tapes.
To find out if multiple tapes will be required, swpackage will calculate the tape blocks
required to store the depot catalog and each product’s contents.
When multiple tapes are necessary, swpackage writes the entire catalog onto the first
tape plus any product contents that also fit. For each subsequent tape, swpackage
prompts you for a “tape is ready” response before continuing.
To continue with the next tape, enter one of the following responses:
Return Use the same device.
pathname
Use the new device/file pathname.
quit Terminate the write-to-tape operation.
Partitioning is done at the fileset level, so a product can span multiple tapes. A single
fileset’s contents cannot span multiple tapes. If any single fileset has a size that exceeds
the media capacity, swpackage generates an error and terminates. It also generates
an error if the catalog will not fit on the first tape.
10.6 Packaging Tasks and Examples 263