How can I list filesets and versions on installation media?


I want to know what filesets are present on installation media or a on a directory where I put some files with not human readable names (such as U838402.bff). How can I get the information?

# cd /path/to/bffs
# installp -l -d .
  Fileset Name                Level                     I/U Q Content
  ====================================================================
  Java5.samples               5.0.0.275                  I  N usr
#   Java SDK 32-bit Samples

  Java5.sdk                   5.0.0.325                  I  N usr,root
#   Java SDK 32-bit

  Java5.source                5.0.0.325                  I  N usr
#   Java SDK 32-bit Source

  Java5_64.sdk                5.0.0.325                  I  N usr,root
#   Java SDK 64-bit

  Java6.sdk                   6.0.0.215                  I  N usr,root
#   Java SDK 32-bit
The same way you can display the package name of a single fileset:
# installp -l -d U839870.bff
  Fileset Name                Level                     I/U Q Content
  ====================================================================
  devices.chrp.base.ServiceRM 1.5.0.1                    S  N usr,root
#   RSCT Service Resource Manager
Please note: Using installp requires a .toc file to be present. This is always the case on official media. However, if you downloaded some update filesets the .toc file might be missing. Not a problem - just create it with the inutoc command:
# cd /path/to/bffs
# inutoc .