Generates a toc (table of contents) for a bff or tar PTF image.
gen_toc_entry -r TarFile -b BffFile -t OutputTocFile [ -h ]
The gen_toc_entry command generates a toc file for a bff (backup format file) or tar update image. This command extracts the lpp_name file from the image, determines the toc format from the lpp_name file, and creates a toc in the appropriate format. If the format field of the lpp_name file is 4, the gen_toc_entry command creates a AIX Version 4 and later toc file. If the format field is 3, the gen_toc_entry command creates a AIX Version 3 toc file. Otherwise, the gen_toc_entry command creates a AIX 3.1 toc file.
Note: The -b and -r flags are mutually exclusive.
To generate a toc file for the bff image U493211.bff and place the output file in U493211.toc, type:
gen_toc_entry -b $TOP/UPDATE/$OPTION/U493211/U493211.bff -t U43211.toc
bff file | The bff image for the PTF. This image is generated using either the backup command for AIX Version 3 or the adepackage command (without the -t flag) for AIX Version 4 and later. |
tar file | The tar image for the PTF. This image is generated using either the tar command for AIX Version 3 or the adepackage command with the -t flag for AIX Version 4 and later. |
toc | The output toc file is based on the format of the PTF. If the format field of the lpp_name file is type 3 (for AIX 3.2 PTF) or 4 (for AIX Version 4 and later PTF), the output toc is a copy of the lpp_name file from the PTF image. A AIX 3.1 type toc is generated for any other type of PTF. |
The adepackage command, backup command, ptfpkg command, tar command.