HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
swinstall(1M) swinstall(1M)
(Hewlett-Packard Company)
• Both the swinstall and swcopy commands perform various checks prior to installing or
copying the software_selections, for example disk space analysis.
Options
swinstall and swcopy support the following options:
XToolKit Options
The swinstall and swcopy commands support a subset of the standard X Toolkit
options to control the appearance of the GUI. The supported options are: -bg,
-background , -fg, -foreground , -display, -name, -xrm, and -syn-
chronous
. See the X(1) manual page by typing man X for a definition of these
options.
-i Runs the command in interactive mode (Graphical User Interface). See the
Interactive Operation and Remote Operation headings above for
details.
-l (Applies only to HP-UX 10.X.) Runs the command in linkinstall mode which makes
software installed under a server’s shared root available to a diskless client’s private
root (HP-UX only).
When run in the linkinstall mode, swinstall:
• Creates NFS mounts to the software to make it accessible from the target. This
may involve delayed mounting for alternate roots.
• Modifies the target’s fstab file.
• Modifies the source’s
exports file to add mount permission for the target.
Mounts are created by examining the share_link product attribute. Not all products
support
linkinstall . Some products may be visible without creating a new
mount if they reside under an old one.
-p Previews an install task by running the session through the analysis phase only.
-r Causes swinstall to operate on alternate root directories, which must be specified
the @ target_selections option. Configuration scripts are not run on alternate roots.
(This option is not required for alternate root operations but is maintained for back-
ward compatibility. See the
Alternate Root Directory and Depot
Directory
heading in sd(5) for more information.)
-v Turns on verbose output to stdout. (The swinstall or swcopy logfile is not
affected by this option.) Verbose output is enabled by default; see the
verbose
option below.
-c catalog Specifies the pathname of an exported catalog which stores copies of the response file
or files created by a request script (if -x ask=true or -x ask=as_needed).
The response files are also stored in the Installed Products Database after the ins-
tallation process is complete.
-C session_file
Save the current options and operands to session_file. You can enter a relative or
absolute path with the file name. The default directory for session files is
$HOME/.sw/sessions/
. You can recall a session file with the -S option.
-f software_file
Read the list of software_selections from software_file instead of (or in addition to) the
command line.
-J jobid Executes the previously scheduled job. This is the syntax used by the daemon to start
the job.
-Q date Schedules the job for this date. You can change the date format by modifying the
/var/adm/sw/getdate.templ file.
-s source Specifies the source depot (or tape) from which software is installed or copied. (SD can
read both tar and cpio tape depots.) The default source type is directory. The
syntax is:
Section 1M−−870 − 4 − HP-UX Release 11i: December 2000
___
___