Information Library for Solaris 2.6 (Intel Platform Edition)

New Patch Commands

The patchadd and patchrm commands are used to add and remove patches from a Solaris 2.x system. They cannot be used to manage patches on a Solaris 1.x system.

You can add one or more patches to a system, client, service, or a net install image.

A patch is added to the local system by typing, for example:


# patchadd /var/spool/patch/104946-02

A patch is added to a client by specifying the client's root directory on a server, for example:


server# patchadd -R /export/root/client1 /var/spool/patch/104946-02

A patch is added to a service area (a usr file system, from any Solaris release setup on a server that is usually mounted as read only by the clients the server serves) by specifying the service area on the server, for example:


server# patchadd -S Solaris_2.3 /var/spool/patch/104946-02

If a patch contains both root and usr packages in the patch, the patchadd command must be issued twice: once with the -R option to apply the patch's root package, and once with the -S option to apply the patch's usr package.

See the patchadd(1M) and patchrm(1M) man pages and System Administration Guide for more information.