Bernd Schemmer writes:
> > If it's not documented in the man pages, then it's not supported.
> > Relying on internal implementation details isn't recommended.
> 
> Maybe, but because there is *no* documented method to check if a
> patch can be applied to a system before starting patchadd it's the
> only method I know to distinguish between expected errors and not
> expected errors while running patchadd in a script..

Right; but the fact that it's not documented means that it's not
supported.  It may stop working at any time, even in a patch.

If you find yourself relying on implementation details such as this to
get your job done, then something is very wrong.  You should complain
-- file bugs, talk to support -- to make sure that you get the
solution you need rather than just assuming we know that you're using
this internal interface.

> If you need to patch 100+ Solaris systems you can not do this manually - you 
> need an automatic solution.

Such as smpatch?

> PS: I filed a bug request to add the return codes to the man pages.

OK.  For what it's worth, Zones complicates matters here.  There might
not be a clear way to do this.

-- 
James Carlson, KISS Network                    <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to