HP-UX Reference (11i v1 00/12) - 1M System Administration Commands A-M (vol 3)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
i
install-sd(1M) install-sd(1M)
(Hewlett-Packard Company)
2)
Install the newer SD:
/usr/sbin/install-sd -s source_depot_location
where source_depot_location is the absolute path to the depot or media containing the newer version
of SD.
RETURN VALUES
The install-sdcommand returns:
0 Successful completion
1 Error during execution
DIAGNOSTICS
Standard Output
An install-sd session writes messages for significant events. These include:
• Begin session and end session messages.
• Major task messages.
Standard Error
An install-sd session writes messages for all WARNING and ERROR conditions to stderr.
Logging
An install-sd session logs detailed events to the install-sd log file located at:
/var/adm/sw/install-sd.log
EXAMPLES
To load install-sd from a local CD-ROM mounted at /SD_CDROM into /var/tmp:
cp /SD_CDROM/catalog/SW-DIST/pfiles/install-sd /var/tmp
cp /SD_CDROM/catalog/SW-DIST/pfiles/swagent.Z /var/tmp
chmod +x /var/tmp/install-sd
/var/tmp/install-sd -s /SD_CDROM
To install a newer version of SD onto your system from the /var/spool/sw
depot on swtest (when
/usr/sbin/install-sd
is not yet on your system):
/usr/sbin/swinstall -r -s swtest:/var/spool/sw \
SW-DIST.SD-UPDATE > \@/var/adm/sw/install-sd.root 2>/dev/null
/usr/sbin/install-sd -s swtest:/var/spool/sw
AUTHOR
install-sd was developed by the Hewlett-Packard Company.
FILES
/usr/sbin/install-sd
Location of the install-sd command.
/var/adm/sw/install-sd.log
Location of the install-sd log file.
SEE ALSO
sd(4), sd(5), update-ux(1M),
Software Distributor Administration Guide, available at http://docs.hp.com
.
HP-UX Release 11i: December 2000 − 2 − Section 1M−−363
___
___