Patch-ID# 102583-02
Keywords: filesystem symlinks read systems hsfs install heapleak
Synopsis: SunOS 4.1.4: hsfs Jumbo Patch
Date: Jul/26/95

Solaris Release: 1.1.2

SunOS Release: 4.1.4

Note:  This patch is available for previous SunOS releases as follows:

       4.1.3_U1 --> Patch 101833 (hsfs Jumbo Patch)
       4.1.3    --> Patch 101832 (hsfs Jumbo Patch)

Unbundled Product: 

Unbundled Release: 

Relevant Architectures: sparc
    NOTE: sun4 sun4c sun4m

BugId's fixed with this patch: 1212676 1211577 1164993 1170583 1166193

Changes incorporated in this version: 1212676 1211577

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 
          hsfs_node.h
	  hsfs_spec.h
	  hsfs_isospec.h
          sun4/hsfs_node.o
          sun4/hsfs_rrip.o
          sun4/hsfs_vfsops.o
          sun4/hsfs_vnodeops.o
          sun4c/hsfs_node.o
          sun4c/hsfs_rrip.o
          sun4c/hsfs_vfsops.o
          sun4c/hsfs_vnodeops.o
          sun4m/hsfs_node.o
          sun4m/hsfs_rrip.o
          sun4m/hsfs_vfsops.o
          sun4m/hsfs_vnodeops.o

Problem Description: 

        This is a CDROM hsfs jumbo patch which contains fixes for the following
        bugs:

         Bug ID     Description
        =======     ===========================================================
        1166193 --> Kernel crashes when switching off a mounted CD-ROM drive

	1164993 --> Using a 4.X CDROM server for doing Solaris 2.X net
	            installations fails due to a 4.X hsfs bug.

	1170583 --> 4.1.x hsfs kernel mem. leak (allocated heap never decreases).

	1211577 --> Problem  accessing hsfs record and associate file types.

	1212676 --> User can panic a system via the pathconf system call
                    and hsfs filesystem


Patch Installation Instructions: 

After extracting patch contents into /tmp, become root and install
the patch as follows:

        mv /usr/include/hsfs/hsfs_node.h /usr/include/hsfs/hsfs_node.h.FCS
	mv /usr/include/hsfs/hsfs_spec.h /usr/include/hsfs/hsfs_spec.h.FCS
	mv /usr/include/hsfs/hsfs_isospec.h /usr/include/hsfs/hsfs_isospec.h.FCS
        mv /usr/kvm/sys/`arch -k`/OBJ/hsfs_node.o /usr/kvm/sys/`arch -k`/OBJ/hsfs_node.o.FCS
        mv /usr/kvm/sys/`arch -k`/OBJ/hsfs_rrip.o /usr/kvm/sys/`arch -k`/OBJ/hsfs_rrip.o.FCS
        mv /usr/kvm/sys/`arch -k`/OBJ/hsfs_vfsops.o /usr/kvm/sys/`arch -k`/OBJ/hsfs_vfsops.o.FCS
        mv /usr/kvm/sys/`arch -k`/OBJ/hsfs_vnodeops.o /usr/kvm/sys/`arch -k`/OBJ/hsfs_vnodeops.o.FCS
 
        cp hsfs_node.h    /usr/include/hsfs
	cp hsfs_spec.h    /usr/include/hsfs
	cp hsfs_isospec.h /usr/include/hsfs 
        cp `arch -k`/hsfs_node.o     /usr/kvm/sys/`arch -k`/OBJ
        cp `arch -k`/hsfs_rrip.o     /usr/kvm/sys/`arch -k`/OBJ
        cp `arch -k`/hsfs_vfsops.o   /usr/kvm/sys/`arch -k`/OBJ
        cp `arch -k`/hsfs_vnodeops.o /usr/kvm/sys/`arch -k`/OBJ
 
        chmod 444 /usr/include/hsfs/hsfs_*.h
        chown root.staff /usr/include/hsfs/hsfs_*.h
 
        chmod 444 /usr/kvm/sys/`arch -k`/OBJ/hsfs_*.o
        chown root.staff /usr/kvm/sys/`arch -k`/OBJ/hsfs_*.o
 
Rerun /etc/config <kernel-name> and make and install the new kernel.

Please Refer to the System and Networking Administration Manual
section on building and installing a custom kernel.
