Personal tools
University Computing Service

Help & Support

Running dupatch: Preparation

Parent: Keeping a Tru64 Unix system up to date
Next: Launching dupatch

Running dupatch: Preparation

 

We start by mounting the Unix Support server's public patch repository and unpacking the relevant bundle. This example is on version 4.0f of the O/S and the unpacked patch_kit directory requires 57MB of space to unpack. Because the patch files are uncompressed tar files the size of the tar file is a good estimate of how much space the unpacked directory tree will require.

Because the patch bundle patches the kernel the dupatch script requires the system to be in single user mode to run. Dropping to single user mode will log off every user leaving just a root prompt at the console. Run levels are changed with the "init" command and "init -s" brings the system down to single user mode.

# mount -o ro nfs-uxsup.csx.cam.ac.uk:/public_patches/DEC /mnt

# ls -l /mnt/v4.0f/duv*.tar
-rw-r--r--   1 1017  1017  57067520 Jan  4 14:38 /mnt/v4.0f/duv40fas0002-19991116.tar

# cd /var/tmp

# tar -xf /mnt/v4.0f/duv40fas0002-19991116.tar

# ls -ld patch_kit
drwxr-xr-x   6 bin      bin          512 Nov 16 18:49 patch_kit

# ls -l patch_kit
total 50
-rw-r--r--   1 root     system       982 Oct 21 18:48 00-READ-ME-FIRST
drwxr-xr-x   4 bin      bin          512 Nov 16 18:43 DIGITAL_UNIX_V4.0F
drwxr-xr-x   6 bin      bin          512 Nov 16 18:43 PatchInstallGuide
-rw-r--r--   1 root     system       106 Nov 16 18:43 PatchInstallGuide.htm
lrwxrwxrwx   1 root     system        43 Feb 10 13:43 PatchInstallGuide.pdf -> PatchInstallGuide/pdf/PatchInstallGuide.pdf
drwxr-xr-x   4 bin      bin          512 Nov 16 18:49 TruCluster_V1.6
-rwxr-xr-x   1 bin      bin        44669 Sep 16 02:33 dupatch
drwxr-xr-x   3 bin      bin          512 Nov 16 18:43 patch_tools

# umount /mnt

# init s

Once in single user mode, change directory to the location of the unpacked patch_kit. Note that you may have to remount /usr and/or /var to do this.

# mount /usr
# mount /var
# cd /var/tmp/patch_kit
# ls
00-READ-ME-FIRST       PatchInstallGuide.htm  dupatch
DIGITAL_UNIX_V4.0F     PatchInstallGuide.pdf  patch_tools
PatchInstallGuide      TruCluster_V1.6

Parent: Keeping a Tru64 Unix system up to date
Next: Launching dupatch