From owner-freebsd-questions Fri Aug 30 20:26:24 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA16673 for questions-outgoing; Fri, 30 Aug 1996 20:26:24 -0700 (PDT) Received: from hfdmail1.imagine.com (hfdmail1.imagine.com [204.249.166.6]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA16665 for ; Fri, 30 Aug 1996 20:26:20 -0700 (PDT) Received: from katya.imagine.com (204.249.166.30) by hfdmail1.imagine.com with SMTP (Apple Internet Mail Server 1.1.1); Fri, 30 Aug 1996 23:38:46 -0400 Message-ID: <3227B030.41C67EA6@imagine.com> Date: Fri, 30 Aug 1996 23:23:28 -0400 From: "Jeffrey M. Metcalf" X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.1.5-RELEASE i386) MIME-Version: 1.0 To: questions@freebsd.org Subject: Unremovable directories Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, I was recently doing some system maintenance when I accidentally corrupted a directory entry. Apparently some of the symbolic links I was making caused the corruption. Now when I perform the following: rm -rf unremovable/ I get rm: unremovable/: Directory not empty The directory is owned by root and I am performing the rm command as root. Clearly the directory is empty (rm -rf emptied it). Is there some way to remove this entry by referring specifically to its inode? I hope not to have to rebuild the filesystem. The directory entry is not entirely corrupt in the sense that I can copy files into it and remove files from it and I can move it around. It seems to be linked to another directory in some way. That directory is also unremovable. Hope someone can help. Thank You -- Jeffrey M. Metcalf 200 Ridgefield Drive Middletown, CT 06457 metcalf@imagine.com