Patch-ID# 100505-01
Keywords: ufs fsck zero length directories sync
Synopsis: SunOS 4.1.1;4.1.2: Zero length directories can be left on system
Date: 10/Feb/92

SunOS release: 4.1.1, 4.1.2

Unbundled Product: 

Unbundled Release: 

Topic: kernel patch for ufs bug that can cause many zero length directories to be on a file system if the system is powered off unexpectedly

BugId's fixed with this patch: 1078521

Architectures for which this patch is available: sun3, sun3x, sun4, sun4c, sun4m

Patches which may conflict with this patch: 

Obsoleted by: 

Files included with this patch: ufs_dir.o

Problem Description: 

	 Zero length directories can be left when a system is powered off;
	 If a lot of directories are being created when an ungraceful shutdown
	 occurs, automatic fsck will fail because many zero-length directories
	 are left on the file system.

Install Instructions: 

As root:
mv /sys/`arch -k`/OBJ/ufs_dir.o /sys/`arch -k`/OBJ/ufs_dir.o.orig
cp {4.1.1,4.1.2}/`arch -k`/ufs_dir.o /sys/`arch -k`/OBJ
chmod 444 /sys/`arch -k`/OBJ/ufs_dir.o
 
Make and install a new kernel.

Please refer to the system and networking administration manual
for details on building and installing a new kernel

