Information Technology Reference
In-Depth Information
have filenames that end with .zip suffix. To uncompress or unzip the SPARC
rpc.rwalld patch (112875-01), which is located in the current directory, use
the unzip(1) command, as shown in the following listing:
# unzip 112875-01.zip
Archive: 112875-01.zip
creating: 112875-01/
inflating: 112875-01/.diPatch
inflating: 112875-01/patchinfo
creating: 112875-01/SUNWrcmds/
inflating: 112875-01/SUNWrcmds/pkgmap
inflating: 112875-01/SUNWrcmds/pkginfo
creating: 112875-01/SUNWrcmds/install/
inflating: 112875-01/SUNWrcmds/install/checkinstall
inflating: 112875-01/SUNWrcmds/install/copyright
inflating: 112875-01/SUNWrcmds/install/i.none
inflating: 112875-01/SUNWrcmds/install/patch_checkinstall
inflating: 112875-01/SUNWrcmds/install/patch_postinstall
inflating: 112875-01/SUNWrcmds/install/postinstall
inflating: 112875-01/SUNWrcmds/install/preinstall
creating: 112875-01/SUNWrcmds/reloc/
creating: 112875-01/SUNWrcmds/reloc/usr/
creating: 112875-01/SUNWrcmds/reloc/usr/lib/
creating: 112875-01/SUNWrcmds/reloc/usr/lib/netsvc/
creating: 112875-01/SUNWrcmds/reloc/usr/lib/netsvc/rwall/
inflating: 112875-01/README.112875-01
#
A subdirectory with the same name as the patch is then created under the cur-
rent directory and the unzipped files are placed in this subdirectory.
The patchadd command is then used to install a patch. Because patches have no
default spool directory, the full pathname to the patch must be specified as a com-
mand-line argument if it is not in the current directory. The following example
shows the installation of the SPARC rpc.rwalld patch on a standalone system:
# patchadd 112875-01
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch number 112875-01 has been successfully installed.
See /var/sadm/patch/112875-01/log for details
Patch packages installed:
SUNWrcmds
#
Note that the patch modified the SUNWrcmds package (Remote Network
Server Commands). The patchadd command is actually a ksh script that calls
the pkgadd command to install the patch.
To apply a patch to the bootable root image of a diskless client or AutoClient,
use the -R command-line argument and specify the path to the client's root
Search WWH ::




Custom Search