Help in removing corrupt directory !
Chris Lewis
clewis at ferret.ocunix.on.ca
Thu Jan 24 17:00:31 AEST 1991
In article <36066 at netnews.upenn.edu> hpc at cattell.psych.upenn.edu (Hua Pei Chen) writes:
| I would like to have some advice on how to remove a corrupt
|directory in a file system....
|The directory itself
|seems to be fine, but it contains a file with a very long name
|("m[[bbmm..."). The i-number for this file is a negative number, so the
|file is totally transparent. Both rm -r and rmdir failed. I have also
|tried "clri" and "fsck" the filesystem, "clri" does not recognize the
|negative inode, and "fsck" can not salvage the corrupt directory. Besides
|scratching the whole file system and restore it, is there another way to
|physically remove this corrupted directory(file)?
First, move any files under this directory that you need, then clri
the directory inode. A following fsck should take out both the
directory and the corrupt file.
--
Chris Lewis, Phone: (613) 832-0541, Internet: clewis at ferret.ocunix.on.ca
UUCP: uunet!mitel!cunews!latour!ecicrl!clewis
Moderator of the Ferret Mailing List (ferret-request at eci386)
More information about the Comp.unix.ultrix
mailing list