Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!nysernic!itsgw!batcomputer!pyramid!oliveb!felix!zemon From: howie@cunixc.columbia.edu (Howie Kaye) Newsgroups: comp.unix.ultrix Subject: Re: panic: rename: lost dir entry Message-ID: <8402@felix.UUCP> Date: Tue, 6-Oct-87 12:04:41 EDT Article-I.D.: felix.8402 Posted: Tue Oct 6 12:04:41 1987 Date-Received: Sat, 10-Oct-87 10:45:55 EDT References: <8196@felix.UUCP> Sender: zemon@felix.UUCP Organization: Columbia University Lines: 19 Approved: zemon@felix.UUCP (Art Zemon) We had a similar crash at Columbia, under Ultrix 2.0 on an 8700. Since it only happened once, we didn't think much of it. Anyway, to get rid of the duplicate directory entries, i had to: 1) move all of the files in them somewhere else. 2) write a quick program to unlink one of them. The directory has an extra link, so rmdir won't remove it, and it is a directory, so rm won't touch it... The program was just a single call to unlink. 3) rmdir the second directory. 4) rename things back to the way they should have been. We were not running nfs at the time, so it coundn't have been caused by our file system becoming a network. ------------------------------------------------------------ Howie Kaye howie@columbia.edu Columbia University hlkcu@cuvma.bitnet Systems Group ...!rutgers!columbia!howie