You use the smosservice patch command to do the following:
Establish the /export/diskless/Patches patch spool directory on an OS server.
Add patches to the patch spool directory. If the patch being added obsoletes an existing patch in the spool, the obsolete patch is moved to /export/diskless/Patches/Archive.
Delete patches from the patch spool directory.
List the patches in the patch spool directory.
Synchronize spooled patches out to clients. You must reboot each synchronized client for the client to recognize the patch update.
Keep your OS servers up to date by installing recommended OS patches on a timely basis.
Diskless client patches are logged in different directories, depending on the type of patch:
Kernel patches are logged in the diskless client's /var/sadm/patch directory. To display kernel patches from the diskless client, type:
% showrev –p |
/usr patches are logged in the OS server's /export/Solaris_version/var/patch directory. A directory is created for each patch ID. To list the patches, change to this directory and type:
% ls -l |
To list all spooled patches by OS and architecture, use the smosservice command with the -P option.