Software Distributor Administration Guide for HP-UX 11i
Managing Software Depots
Registering and Unregistering Depots (swreg)
Chapter 4154
Changing
Command Options
You can change the behavior of this command by specifying additional
command-line options when you invoke the command (using the -x
option) or by reading predefined values from a file. The following table
shows the defaults and options that apply to swreg:
For More
Information
See Appendix A, “Command Options,” on page 421 for complete
descriptions of each default.
swreg Examples
To unregister a CD-ROM depot mounted at /mnt/cd, you would type:
swreg -l depot -u /mnt/cd
To register the same depot (mounted at /mnt/cd on the local host) as a
depot to be available on the network, type:
swreg -l depot /mnt/cd
The following example enables direct access from one or two other
systems to the HWEnable11i depot on the Support Plus CD, assuming the
Support Plus CD is mounted at /cdrom:
swreg -l depot /cdrom/HWEnable11i
Table 4-5 swreg Command Options and Default Values
• admin_directory=/var/adm/sw
• distribution_target_directory=
/var/spool/sw
• level=
• log_msgid=0
• logfile=/var/adm/sw/swreg.log
• logdetail=false
•loglevel=1
• objects_to_register=
• rcp_binding_info=
ncacn_ip_tcp:[2121]
ncadg_ip_udp:[2121]
•rpc_timeout=5
• run_as_superuser=true
• select_local=true
• select_local=true
•targets=
•verbose=1