Patch-ID# 101832-05
Keywords: filesystem symlinks read 2.4 server boot hsfs install
Synopsis: 4.1.3: HSFS (CD-ROM Filesystem) jumbo patch
Date: Feb/26/96

Solaris Release: 1.1

SunOS Release: 4.1.3

Note:   This patch is available for 4.1.4 as 102583 and 4.1.3_U1 as 101833

Unbundled Product: 

Unbundled Release: 

Relevant Architectures: sparc
    NOTE: sun4 sun4c sun4m

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

Changes incorporated in this version: 1212676 1211577

Patches accumulated and obsoleted by this patch: 101584-01 101874-01 101068-01

Patches which conflict with this patch: 

Patches required with this patch: 100075-17 or later (allows NFS read locks
of CD-ROM files to work properly). 

Obsoleted by: 

Files included with this patch: 
          README
          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: 

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

	1211577 --> Problem  accessing hsfs record and associate file types.
        1166193 --> Kernel crashes when switching off a mounted 
                    CD-ROM drive

        1170918 --> Hsfs rejects all file lock requests as invalid.

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

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

        1084207 &
        1100013 --> Hsfs could support some non-conforming CD-ROMS by
                    being permissive with case and trailing-space/NUL
                    distinctions on filenames.

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/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.
