SUMMARY: Corrupted Directory Entry

From: Steven E. Grevemeyer (
Date: Mon Mar 15 1993 - 13:41:33 CST

Thanks for all of your help. The "unlink" command turned out to be the
solution to my stubborn file problem.

The solutions fell into two catagories, unlink or i-node deletion. I have
reprinted one of each.

Steven E. Grevemeyer Fast-email:
AMSTA-OS Slow-email:
US Army Tank-Automotive Command Phone: (313)574-5007
Warren, MI 48397-5000

The following is the solutions, in order of arrival.

>From Fri Mar 12 03:12:41 1993

We had a problem like this on one of our UNIX workstations recently,
like you we tried rm -r and other things. Eventually we used the
unlink command (i.e. unlink dir) and this seemed to do the trick. It
removed the directory completely. This still left an inconsistency which
was then cleared up by fsck.

                           Dept. of Physics
                           University of Newcastle upon Tyne

>From Fri Mar 12 04:49:10 1993

Ok, the following is without guarantee. Go single user. Back up the
partition. Then do:

ls -li .lines # Note the I-Node number.
umount <affected partition> # I hope it's not the root or usr one.
/etc/clri <raw-device> <Number from the first command>
fsck <raw-device> # When asked about linking up the file/dir, say no.


Tobias Weingartner | PGP2.1 Public Key available at |
 +41'41'33'25'40 | 'finger' |
%SYSTEM-F-ANARCHISM, the operating system has been overthrown

>From Fri Mar 12 07:55:29 1993
>From Fri Mar 12 09:26:23 1993
>From Fri Mar 12 11:10:14 1993
>From era@niwot.scd.ucar.EDU Fri Mar 12 11:51:27 1993
>From Fri Mar 12 14:31:15 1993
>From Sat Mar 13 00:55:46 1993

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:36 CDT