This is a summary of the replies I received on checking if a patch
is instlled under SunOS 4.1.3.
The original request:
> Sun Admins,
> Machine Details:
> * Kernel Arch: "sun4c"
> * Application Arch: "sun4"
> * Kernel Revision:
> 4.1.3_U1 (JUMBO) #1: Wed May 24 22:17:04 BST 1995
> I've downloaded the jumbo tty patch 101621-02 and followed the installation
> instructions, followed by a rebuild of the kernel, in this case called JUMBO.
>
> After I move it into /vmunix (once the original is saved elsewhere)
> and reboot, I dont get any patch information from the command
>
> showrev -a | more
> showrev -p | cut -d" " -f2
>
> Can someone clarify the steps involved?, is the patch installed or not?
The Answer:
If you look at the showrev command it is a shell script, so you can se
what files, etc, it is looking for. For patch information it looks for
files /etc/install/p*. With SunOS 4.1.x you must create these for
yourself manually. In Solaris 2.x this is automated with the
installpatch procedure.
Basic Procedure (Step by Step) To Follow:
a) Run "showrev -p > before"
b) Install a patch
c) Run "showrev -p >after"
d) If new patch doesn't list,
edit a file called "patch" or "patch_anything"
in "/etc/install" and enter a line for the new patch.
e) Write out the file
f) Rerun "showrev -p": The new patch should be documented.
Note: If an entry is made manually, be sure to include the
Revision Number of the patch, as well as the Patch ID Number
itself.
Thanks to everyone below for the feedback:
Denis Beauchemin (beauchem@DMI.USherb.CA)
Glenn Satchell (glenn@uniq.com.au)
Aditya Talwar (sunman@criterion.com)
Derald McMillan (dmcmilla@engr.soltech.com)
Tony Glavin (Tony.Glavin@analog.com) (Cork Hurling -Not good I'm afraid)
Michael Pearlman (canuck@masc38.rice.edu)
Garth (ongdon@itd.nrl.navy.mil)
Tim White (tim@otis.hssc.scarolina.edu)
Syed Zaeem Hosain (szh@zcon.com)
Nico Garci (raoul@MIT.EDU)
-- Rory Clancy Voice: +353 21 904080 National Microelectronics Research Centre Fax: +353 21 270271 Lee Maltings, email: rclancy@nmrc.ucc.ie Prospect Row, http://nmrc.ucc.ie/ Cork, Ireland.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:26 CDT