DOCUMENT ID:  1200-02

SYNOPSIS:     add_install_client script can fail

OS RELEASE:   2.4

PRODUCT:      Solaris x86

KEYWORDS:     install remote hsfs cdrom df


SYMPTOMS:

When running the add_install_client script from CD-ROM the following may
occur:
 
  # ./add_install_client machine i86pc
  df: Could not find mount point for /cdrom/solaris_2_4_x86/s2
  ./add_install_client: test: argument expected


DESCRIPTION:

df -k fails if the specified file-system is the mount-point of a
High-Sierra file-system or a directory underneath this mount-point, as
the following example demonstrates (The CD used here is Solaris 2.4 for
x86):

 # ls /cdrom/cdrom0/s2
 add_install_client    export                setup_install_server
 archinfo              Patches               Solaris_2.4
 auto_install_sample   Posix.2
 Copyright             rm_install_client

 # df -k /cdrom/cdrom0/s2
 df: Could not find mount point for /cdrom/cdrom0/s2

The command succeeds if the file-system is specified by device name:

 # df -k /vol/dev/dsk/c0t6/solaris_2_4_x86/s0
 Filesystem            kbytes    used   avail capacity  Mounted on
 /vol/dev/dsk/c0t6/solaris_2_4_x86/s0
                       15560   11654    2366    83%    /cdrom/solaris_2_4_x86

This causes the add_install_client script to fail if it is run from the
CD-ROM:

 # cd /cdrom/cdrom0/s2
 # ./add_install_client machine i86pc
 df: Could not find mount point for /cdrom/solaris_2_4_x86/s2
 ./add_install_client: test: argument expected


SOLUTION:

To workaround this issue, the Solaris 2.4 CD-ROM needs to be copied onto
a local harddisk with the setup_install_server program. 

Once complete, the add_install_client script requires amending so that
the df -k line initialize the myname variable as "./add_install_client". 

 server% diff add_install_client new_add_install_client
 506c506
 < myname=$0
 ---
 > myname="./add_install_client"


DATE APPROVED: 09/18/95