SUMMARY: Corrupted Directory Entry

From: Steven E. Grevemeyer (grevemey@vela.acs.oakland.edu)
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: grevemey@vela.acs.oakland.edu
AMSTA-OS Slow-email: segrevem@tacom-emh1.army.mil
US Army Tank-Automotive Command Phone: (313)574-5007
Warren, MI 48397-5000
==============================================================================

The following is the solutions, in order of arrival.

>From Jerry.Hagon@newcastle.ac.uk 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.

                           Jerry.Hagon@newcastle.ac.uk
                           Dept. of Physics
                           University of Newcastle upon Tyne

>From weingart@inf.ethz.ch 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.

--Toby.

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

>From ammond@gdls.com Fri Mar 12 07:55:29 1993
>From danny@ews7.dseg.ti.com Fri Mar 12 09:26:23 1993
>From slee@maxtor.com Fri Mar 12 11:10:14 1993
>From era@niwot.scd.ucar.EDU Fri Mar 12 11:51:27 1993
>From Perry_Hutchison.Portland@xerox.com Fri Mar 12 14:31:15 1993
>From louis@andataco.com Sat Mar 13 00:55:46 1993



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