Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 1996 23:23:28 -0400
From:      "Jeffrey M. Metcalf" <metcalf@imagine.com>
To:        questions@freebsd.org
Subject:   Unremovable directories
Message-ID:  <3227B030.41C67EA6@imagine.com>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3227B030.41C67EA6>