Creating a datastream package requires two steps:
Use the default device (the installation spool directory) or name a directory into which the package should be placed. pkgmk(C) creates a package in a fixed directory format. Specify the capacity of the device where the datastream will be placed as an argument to the -l option.
This command translates the fixed directory format to the datastream format and places the datastream on the specified medium.
For example, the two steps shown below create a datastream package:
This formats a package into a fixed directory structure and places it in a directory named spooldir. Each part of the package requires no more than 1400 blocks.
This translates the fixed directory format of package1 residing in the directory spooldir into a datastream format, and places the datastream package on the medium in a device named 9track.
This is similar to number 2 above, except that it places the datastream package on the medium in a device named diskette. pkgtrans(C) prompts for additional volumes if the package requires more than one diskette.