Peter Tribble wrote:
On 8/30/06, *Dave Miner* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Dennis Clarke wrote:
>
> Patches get applied almot as if they are packages. You will find
a complete
> list of the patches in /var/sadm/patch and if you look there with
"ls -ltr"
> then you will get a cronological order. If you just ls in the
ordinary way
> then you get the list of all patches as well as the previous revs
of the
> patches applied.
>
Careful. patchadd -p or showrev -p are the supported interfaces.
Everything else is implementation detail that we will not commit to
supporting.
Sort of. The problem is that the question isn't entirely unambiguous.
One possible meaning of the question is "What bugfixes are applied
to this machine?".As fixes are supplied via patches, this largely boils
down to looking at showrev -p. (Although why we have two supported
interfaces to do the same thing isn't clear.)
The reason we have two interfaces that push out exactly the same data is
historical - showrev was the way we SunOS 4 provided this sort of info,
so we made it work on SunOS 5. But since that's not the most well-known
interface, nor an interface that one would obviously associate with
patching, the functionality was later added to the patch tools.
> One enhancement that
might be considered is an easy supported way to answer the question
"Has abcdef-xy been applied?"
Sure, that's a good enhancement.
Another possible meaning is "What actual patches have been applied
since the system was installed?".(This is is related to the question "What
patches do I need to download to bring a second system to the same
state as the first?") In this case, I generally am not interested in those
patches that appear in showrev -p output (and maybe not in patches
that have been obsoleted by a newer patch or revision), and looking
in /var/sadm/patch gives me the answer I want.
These are also good questions, and we should be supplying public
interfaces to answer them, rather than having customers groveling around
in /var/sadm/patch and inferring the answers based on the implementation
details.
Dave
_______________________________________________
opensolaris-discuss mailing list
[email protected]