Solaris 9 Installation Guide

To Compare Boot Environments (Command-Line Interface)

  1. Log in as superuser.

  2. Type:

    # /usr/sbin/lucompare -i  infile (or) -t -o  outfile BE_name

    -i  infile

    Compare files that are listed in infile. The files to be compared should be an absolute file name. If the entry in the file is a directory, then comparison is recursive to the directory. Use either this option or -t, not both.


    Compare only nonbinary files. This comparison uses the file(1) command on each file to determine if the file is a text file. Use either this option or -i, not both.

    -o  outfile

    Redirect the output of differences to outfile.


    Specifies the name of the boot environment that is compared to the active boot environment. 

    Example 34–2 Comparing Boot Environments (Command-Line Interface)

    In this example, first_disk boot environment (source) is compared to second_disk boot environment and the results are sent to a file.

    # /usr/sbin/lucompare -i  /etc/lu/compare/ \
    -o /var/tmp/compare.out second_disk