Solaris 9 Installation Guide

To Run the analyze_patches Script


Note –

To run the analyze_patches script, the installed system and the Solaris 9 DVD, Solaris 9 Software CDs, or net image must be accessible by the script either through NFS or locally mounted media.


  1. Change to the Misc directory.

    • SPARC: If the image is located on locally mounted media, type:


      # cd /cdrom/sol_9_Update_sparc/s0/Solaris_9/Misc
      

      In this command, Update is the actual Update identifier.

    • x86: If the image is located on locally mounted media, type:


      # cd /cdrom/sol_9_Update_x86/s2/Solaris_9/Misc
      

      In this command, Update is the actual Update identifier.

    • If the image is available on an NFS file system, type:


      # cd /NFS_mount_directory/Solaris_9/Misc
      
  2. Run the analyze_patches script:


    # ./analyze_patches [[-R rootdir]] [[-N netdir]] [[-D databasedir]]

    -R rootdir

    rootdir is the root of the installed system. The default is /.

    -N netdir

    netdir is the path to the root of the OS image to be installed. The default is /cdrom/cdrom0. netdir is the path to the directory that contains the solaris_9 directory. You must use this option if you are running the patch_analyzer from an NFS mount point.

    -D databasedir

    If the script is invoked from a directory other than the Misc/ directory in the OS image, the program cannot find the database it uses for patch analysis. Use the -D option to supply the path to the database. Without this database, which is located in Solaris_9/Misc/database on the OS image, the script does not work properly.