Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!cmcl2!brl-adm!adm!mike%cs1.wsu.edu@RELAY.CS.NET From: mike%cs1.wsu.edu@RELAY.CS.NET (Mike Kibler) Newsgroups: comp.unix.wizards Subject: Bad directory problem - Any answers? Message-ID: <7967@brl-adm.ARPA> Date: Tue, 23-Jun-87 03:26:27 EDT Article-I.D.: brl-adm.7967 Posted: Tue Jun 23 03:26:27 1987 Date-Received: Wed, 24-Jun-87 06:46:08 EDT Sender: news@brl-adm.ARPA Lines: 36 I have been away from the net for a while, so I do not know if this problem has already been solved. SYSTEM: VAX 11/750 running 4.3 BSD PROBLEM: A directory called bin was created with a '..' but not '.'. Instead a directory file called 'old' which appears to really be '.' is located in the bin directory. A file system check of course reveals that the directory is missing '.', but I have not been able to fix it using fsck. I tried an unlink ( fool!). Of course fsck just stuck it under lost+found. Rmdir cannot remove it because it finds 'old' located in the directory. Don't even think about doing a rm -r old. A little recursive loop results. Any way to get rid of this bad dir without remaking the file system?? Please mail replys to my CSNET address. Thanks, ---- Mike ( Those who can, do. Those who can't simulate! ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Michael K. Kibler CSNET: mike%cs1.wsu.edu@RELAY.CS.NET Computer Science Dept. UUCP: ..!ucbvax!ucdavis!egg-id!ui3!wsucshp!wsu!mike Washington State Univ. BITNET: kibler@wsuvm1.BITNET Pullman, WA. 99164-1210 PHONE: 509-335-2723 or 509-335-6636